Question

URL masking or Hiding domain name

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.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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