Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: onboardhost on December 12, 2021, 07:54:28 PM

Title: Apache and DNS not updating with new account IP Address
Post by: onboardhost on December 12, 2021, 07:54:28 PM
CWP Pro server has many different IP's on it with 1 shared IP and 2 nameserver IP's.

Going to "Account Edit" and selecting a different unused IP Address (not the shared or nameserver IP's) for that account.

Selecting "Update DNS zone files" and "Update WebServers".. then click on "Update".

"List Accounts" now shows the new IP address.

Webserver vhost file and DNS file does NOT show the new IP address ...


Please Advise.
Title: Re: Apache and DNS not updating with new account IP Address
Post by: studio4host on December 13, 2021, 06:07:05 PM
you probably need to rebuild vhosts and for dns you will need to check by editing dns zone file.
You have api on cwp wiki (single line command) for rebuild of vhosts
Title: Re: Apache and DNS not updating with new account IP Address
Post by: onboardhost on December 31, 2021, 12:37:44 AM
It is showing the new ip now inside of the vhosts.

I can ssh to that IP into the exact same server.

Only shows http test page.

/Edit/ DNS on the server was not updated with the new ip.

waiting on dns now. then will see