forward subdomain to another server

Posted December 3, 2014 14.6k views

i have a 2 domain hosted on different server. on server A - ip on server B - hosted on digitalocean droplet

any domain has a cdn subdomain [ ,]

how do i this forward/redirect to 1

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

To do the same please follow the steps.

Sub domain is part of the domain, it’s like subletting a room of an apartment.

A records has to be setup on the dns.

For example : has IP and hosted with some other company.

Now to get the sub domain

of which the site is actually on another server then to create a sub domain

Login to your domain manager

And go to dns manager and add an A record in domain manager like this and point the IP to the other server

And that’s it.

Wait for the DNS propogation usually happens instantly give it a time to reflect and point the sub domain name and you are all set to go now as your sub domain points to Digital Ocean.

What is the impact of having a CNAME of * with this.

I’ve configured to point to my droplet but no DNS queries will return that box. I set this up over 2 days ago.