Question

URL masking or Hiding domain name

Posted June 16, 2016 10.1k views
DigitalOcean Applications

Hi Guys,

I created a website previously and all my clients know my domain name, but recently we partnered up with a company and they created a website for us and some other thing that we needed, they said we can go ahead and musk their URL to our domain but this is where I’m having problem.

my domain is (mycompanyname.com)
partners created website url is (mycompanyname.partnername.com)

so what I want is if I can mask the entire website with (mycompanyname.com), instead of the (mycompanyname.partnername.com).

I have managed to redirect it when someone enters mycompanyname.com it gets directed to (mycompanyname.partnername.com), but on the address bar the (mycompanyname.partnername.com) stays on there I want that to be masked with my (mycompanyname.com).

Can someone help me please.

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.

1 answer

What you are looking for is a CNAME DNS record. The CNAME record maps a name to another name. It should only be used when there are no other records on that name.

To set up a CNAME record with DO, check out the DNS Tutorial or if your DNS is hosted elsewhere just google CNAME set up Your DNS Host

Submit an Answer