The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

IP address shows defaultwebpage.cgi

Discussion in 'General Discussion' started by PeaceYo, Aug 14, 2014.

  1. PeaceYo

    PeaceYo Member

    Joined:
    Aug 4, 2014
    Messages:
    21
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Website Owner
    Hello Everyone,

    Recently I moved my website from shared to VPS and slowly learning how this VPS and cPanel works.

    In shared hosting I had dedicated IP, when I enter the domain or IP address, it will show the website (/.index.html)

    but here in VPS the IP address shows "cgi-sys/defaultwebpage.cgi" page with my website favicon.

    The domain name works as usual but why IP address shows cPanel Sorry "Default Web Site page" not my main domain site?

    This VPS has only one cPanel account with unlimited usage to my only domain.

    I stored all website files in the account public_html, not in the root public_html.

    I want my IP to show my website, not the cgi-sys/defaultwebpage.cgi page. Please someone help me to fix this :(

    Thank You.
     
  2. PeaceYo

    PeaceYo Member

    Joined:
    Aug 4, 2014
    Messages:
    21
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Website Owner
    Thank you Michael, but..

    I did..

    Code:
    cd /var/cpanel/templates/apache2/
    cp main.default main.local
    and confusing in main.local, too many vhost and don't know where to add the documentroot and all lines with %.

    I stuck with my knowledge here :/

    but I am pretty sure the IP displayed my website when I first transferred the domain / started VPS.

    you see that default page shows my website favicon, this favicon is located in my account public_html not anywhere in root side. so it shows the favicon but not the webpage?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It's normal for the default website page to appear for shared IP address, even if only one account is assigned to that shared IP address. You could also edit the httpd.conf file so the first VirtualHost for that IP is the VirtualHost for your domain name. Documentation on direct edits to the httpd.conf file is available here:

    Modify the httpd.conf file

    Thank you.
     
Loading...

Share This Page