Skip to main content

Staging WebSite Without Subdomain

Comments

2 comments

  • Infopro
    Is it possible (and supported) to have two cPanel accounts associated with the same domain name, but using different public IP addresses?

    It's not. The easiest way to setup a staging environment, in my opinion, is to create a directory for it on the same account. domain.com domain.com/stage/ (password protected to keep private)
    0
  • Benjamin Roberts
    @Infopro: Thanks for the suggestion. Yes, using a sub-directory and/or sub-domain often results creating related dependencies for projects/packages such as WordPress and others. Many of these, for better or worse (worse in this case), store directory and/or domain references in their databases, sometimes even serialized with the data length as part of the serialized values, and thereby create a bit of a mess when it comes to "flipping" a staged site into the production site when that entails changing the associated directory location and/or primary domain name. Fun times.
    0

Please sign in to leave a comment.