How to make nameserver from reverse proxy IP?

I have a query.

I got a domain named and i want to set nameserver as and

I know how to do it by creating child nameserver.

But the problem is, i have a server example where i have cpanel hosted.

and i have another server i.e. which i want to use as reverse proxy, so my main domain shows only ip as main ip which in the backend, forward all traffic to

My main objective here is to hide my main ip i.e. and create a name server with my reverse proxy ip so i can use it in multiple domain, can it be done?

Show comments

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.

Reverse proxies act as middlemen between the online server and internet. When browsers make a request, the DNS routes request to the reverse proxy server. You can use multiple reverse proxies to balance the load on web servers.For more, you can visit here:

Thanks for sharing this use full tips with us. Reserve proxies ease the burden on online servers by providing both dynamic and static content. For more information you can visit our blog page: []

Hi @sonuyos

That would defeat the purpose of having multiple name servers, since everything would be proxied through server2, so if that went down, then nothing would work. And you shouldn’t look at name servers as parent-child, but more as master-master, since they should be able to run by themselves with or without any of the others.

If you’re just looking for branded look, then you could use DigitalOcean’s name servers instead of setting up your own servers: