Redirecting dedicated IP to specific domain name on account

genezsolutions

Registered
Nov 21, 2013
1
0
1
cPanel Access Level
Root Administrator
Hi there,

I was wondering if anyone can help me with this.

I have a dedicated IP assigned to a cpanel account. When the dedicated IP is entered in the browser, it redirects to one of the domains on the account. It is always the same domain, an addon domain on this cpanel account.

What I want to know is: Is it possible to choose which domain the IP redirects to?

Many thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

It will display the domain name content of the first VirtualHost associated with that IP address in the httpd.conf file. If you rebuild the httpd.conf file, it should revert to the primary domain name of the account:

Code:
/scripts/rebuildhttpdconf
Thank you.