forward subdomain to another server

December 3, 2014 12k 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

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.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!