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 hosts three domains, which are:
domain1, domain2, and domain3. How would I set the DNS staging site A-Record for each of these domains?


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.

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.


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