IP address shows defaultwebpage.cgi

PeaceYo

Member
Aug 4, 2014
21
1
53
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.
 

PeaceYo

Member
Aug 4, 2014
21
1
53
cPanel Access Level
Website Owner
Hello :)

This is discussed on the following thread:

Default Content of IP Address

Thank you.
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
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.