How can I test multiple sites on one droplet before transferring the domain name?

I can hit my droplet’s IP, but I just see the first site I set up. Once I transfer a domain I can get to it and everything works, but I’d like to test and configure a site before I transfer the domain’s DNS over to the new droplet.

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.

@jough.dempsey <br> <br>So your site has sub-domains, and you’d like to test them before switch over the domain’s DNS. Is that right? <br> <br>Unfortunately, you can’t use sub-domains with just an IP number. I’d suggest either temporarily setting your virtual hosts to point to folders e.g. your.ip.address/subdomain1, your.ip.address/subdomain2 or setting up DNS to point to new “stagging” sub-domains. Something like: <br> <br> <br> <br>