IP don't show the default ip site after create domain

vibol

Active Member
Jan 21, 2014
27
0
1
cPanel Access Level
Root Administrator
Hello i don't know i'm span on this question or not.
IP don't show the default ip site after create domain

First i install cpanel successfully and i access my ip it show to "Default Website page" i mean ip directory
But when i start setup my first domain to first cpanel account mydomain.com my ip don't show to "Default Website page" like before. This time it show the domain site. how to change it back ?
Thz...
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
23
143
Houston, TX
cPanel Access Level
Root Administrator
When you type an IP address in a Web browser, httpd will give you the content of the first site that is defined in httpd.conf. It looks like right now, the first site defined in httpd.conf is your site, not the Apache default site. What you can try is rebuilding the httpd.conf file:

Code:
# /usr/local/cpanel/scripts/rebuildhttpdconf
# /usr/local/cpanel/scripts/restartsrv_httpd