1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Dedicated IP for a domain

Discussion in 'Plesk for Linux - 8.x and Older' started by puro1212, Jul 19, 2005.

  1. puro1212

    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., the files can't be located (i.e. 404 error). Any clue?


  2. jamesyeeoc

    jamesyeeoc Guest

    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'
  3. puro1212

    puro1212 Guest

    Thanks. :)

  4. jamesyeeoc

    jamesyeeoc Guest

    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.


    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
    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.