Control Web Panel
WebPanel => DNS => Topic started by: emar on January 11, 2023, 10:05:13 AM
-
Hi,
Just checking,
I have a domain on CWP that I created a subdomain for: service.domain.com
I also have a new web hosting account on a separate server to CWP.
I wanted to point that subdomain to the IP of the new server,
So I went into DNS Functions > List DNS Zone and clicked on Edit File for domain.com.db
In that file I see two records for the subdomain and changed the IP to the new server.
service 14400 IN A 11.111.73.202 ; #subdomain service
www.service 14400 IN A 11.111.73.202 ; #subdomain service
Is that all I need to do to point the subdomain to the new server, do I need to add their ns1 & ns2 records also?
Thanks in advance
-
All good got it sorted
-
Hello @emar. Can you please share how you solved it?
-
@phalouvas
All I did was go to DNS Functions, then List DNS Zones
And at the end of the file I added two A records and point the subdomain to the IP of the other server.
service 14400 IN A 11.111.73.202 ; #subdomain service
www.service 14400 IN A 11.111.73.202 ; #subdomain service
And wait until it fully propagates across the web, took about 24 hours.