Author Topic: Pointing subdomain on CWP to an external server IP  (Read 1524 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Pointing subdomain on CWP to an external server IP
« 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
« Last Edit: January 11, 2023, 10:27:05 AM by emar »

Offline
*
Re: Pointing subdomain on CWP to an external server IP
« Reply #1 on: January 18, 2023, 04:24:35 PM »
All good got it sorted

Offline
*
Re: Pointing subdomain on CWP to an external server IP
« Reply #2 on: January 20, 2023, 08:00:35 AM »
Hello @emar. Can you please share how you solved it?

Offline
*
Re: Pointing subdomain on CWP to an external server IP
« Reply #3 on: January 20, 2023, 07:29:04 PM »
@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.
« Last Edit: January 20, 2023, 07:33:13 PM by emar »