• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Dedicated IP for a domain

P

puro1212

Guest
I assigned a dedicated IP to one of my domain account. But when I try to see my files with Internet Explorer with the IP address (e.g. http://216.55.168.68/index.php), the files can't be located (i.e. 404 error). Any clue?

Thanks

Scott
 
I know you did not set your domain name as the default for the IP address, if you browse to just the IP you get the default Plesk page... This is not done by default.

In the control panel,

go to Server - IP Addresses

in the 'Hosting' column, click on the number zero on the IP address line

select your domain name

click on 'Set as Default'
 
Thanks. :)


Originally posted by jamesyeeoc
I know you did not set your domain name as the default for the IP address, if you browse to just the IP you get the default Plesk page... This is not done by default.

In the control panel,

go to Server - IP Addresses

in the 'Hosting' column, click on the number zero on the IP address line

select your domain name

click on 'Set as Default'
 
Ok, so that problem is resolved, but now it looks like you may be having an open_basedir problem:

Fatal error: main(): Failed opening required 'includes/application_top.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/yourdomain.com/httpdocs/shop/index.php on line 13

or maybe a path error in a config file for the application.

include_path='.:/usr/share/pear'

My eyes are not so good, but is that a period and colon before the /usr/...

Check your /home/httpd/vhosts/yourdomain.com/conf/vhosts.conf file. If you (hopefully) have a statement for php_admin_flag open_basedir ... statement, check it for typos.

This is what I would normally put in for an osCommerce type site:

<Directory /home/httpd/vhosts/yourdomain.com/httpdocs>
php_admin_flag engine on
php_admin_value register_globals 1
php_admin_value safe_mode 0
php_admin_value open_basedir /home/httpd/vhosts/yourdomain.com/httpdocs:/tmp:/usr/share/pear
</Directory>
1=on, 0=off (had to do this with current PHP on RH), if the numbers don't work, then use on and off. Also if you are doing an SSL site, then change the 'httpdocs' to 'httpsdocs' in the lines above.
 
Back
Top