Plesk LogoSince moving from an Ensim control panel to Plesk I have had trouble many times with previewing works-in-progress on sites that do not yet have the DNS pointed to them. This was not an issue in Ensim as you could use the IP address in the URL to create a direct pathway to the site as it is under construction. Plesk, unfortunately will not allow you to do this and will only allow a site preview from within the control panel.

It finally dawned on me the other day that I could use the Plesk domain alias feature to solve this problem.

Set up the domain in Plesk, as you normally would. Next go to Domains > Domain Alias > Add domain alias. From this point add a subdomain against any domain you like, like project.yoursite.com.

Next go to your registrar/DNS manager and point the appropriate subdomain to the IPA of the host server.

That’s it, nothing else to it.


View Comments on “Preview a non-live site in Plesk”

You can track this conversation through its atom feed.

  1. The Cotton Club » Blog Archive » Site Preview w/ Plesk says:

    [...] Preview a non-live site in Plesk | Greg Smart Social [...]

  2. dbootle says:

    Thanks for this very useful tip. I'm waiting for the dns of my subdomain alias to propagate, but just had a thought… Does this still work if the alias is a subdomain of a domain that is on the same server?

  3. Gregory Smart says:

    I don't see any reason why it shouldn't work just fine.

  4. dbootle says:

    I can confirm now that it does work. I was just worried that if it couldn't find the subdomain within the actual stated domain then it would assume it didn't exist.
    Many thanks!

Leave a Reply

You must be logged in to post a comment.

blog comments powered by Disqus