Report this

What is the reason for this report?

URL masking or Hiding domain name

Posted on June 16, 2016

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.



This textbox defaults to using Markdown to format your answer.

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

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.