Need to change virtual host IP in httpd.conf
I noticed the IP address for my site is from a previous server. How do I update? I tried editing the file and it reverted to original IP.
When I list the account it has the correct IP. EDIT: I found the answer here on another thread:
ServerName XXX.XXX.com
DocumentRoot /var/www/html
ServerAdmin contact@XXX.com
# Global DCV Rewrite Exclude
RewriteOptions Inherit
When I list the account it has the correct IP. EDIT: I found the answer here on another thread:
-
Hey there! That thread is very old, and likely wouldn't provide you with the correct information. I would recommend checking the data in /var/cpanel/userdata for that account and ensuring the wrong IP is not listed there for the domain. 0 -
Thanks. Old post helped. Running build_apache_conf was all I needed. 0 -
I'm glad that's all it needed! 0
Please sign in to leave a comment.
Comments
3 comments