Multiple Staging Sites on Same IP Address?

How do you set up a DNS staging site A-Record for a server that hosts multiple websites?

For example, a server at IP Address 24.26.4.200 hosts three domains, which are:
domain1, domain2, and domain3. How would I set the DNS staging site A-Record for each of these domains?

Thanks!

That’s not a function of DNS. It requires SNI, which is part of the server configuration that specifies which hostname goes to which directory on the server.

https://www.cloudflare.com/learning/ssl/what-is-sni/

1 Like

Yep, you’re right. All I had to do to make this work was to change the Primary Domain under Cloudways Domain Management to staging(dot)domain1, 2, 3, etc.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.