• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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