Wednesday, March 12, 2008

How make safe_mode=off for a domain in plesk

How make safe_mode=off for a domain in plesk

Login in to plesk select the domain
Domains > domain.com > setup
PHP support (PHP 'safe_mode' on ) untick it to make safemode off

How to access the site by ip address (Plesk)

How to access the site by ip address (Plesk)

To make site browse Ip address
Server > IP Address > Hosting > select the site domain.com > Set As Default

To change Ip address of domain
Login to pleskDomains > domain.com > setup > ipaddress

How create subdomain ssl in plesk

Create it as a normal site. ie secure.site.com as a normal site. Then you will see the ssl options. As a side note you need to make sure you have a static IP for that domain to use the with a ssl cert.

Unable to change ownership of file

Error
# chown ftp.domain.org.psacln .htaccess
chown: `ftp.domain.org.psacln': invalid group

FIX
# chown ftp\.domain\.org:psacln .htaccess
Please put \ before the dot as there are too many dots in the ownership

Dns entries on plesk for domain

/var/named/run-root/var/domain.com

Cannot FTP to a domain after its physical hosting has been recreated

After that it's impossible to login by ftp to the domain, the FTP server returns an error:
530 User fp1 cannot log in, home directory inaccessible.
CAUSE
IIS cache causes this problem.
RESOLUTION
Here is two possible ways to resolve:

1. Clean up IIS FTP service cache. To reset FTP cache restart IIS FTP
servicenet stop MSFTPSvc
net start MSFTPSvc

2. Disable IIS FTP cache. To completely disable caching set the following parameter:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\InetInfo\Parameters\DisableMemoryCache DWORD 1

Web Based MSSQL manager not working

Web Based MSSQL manager not working

Error

Web Based MSSQL manager is not working when I goes to http://mssql.domain.com after opening when click on any links it is not taking me to login page.

FIX

The problem with SQL admin has been caused by disabled ASP.NET 1.1 as web service extension. I went to IIS > Web service extensions > Allow ASP.NET 1.1. After that I got sql admin working