I have a dev site at sub.example.com.

Instead of migrating the dev site to the root folder, is it possible to do something similar to this but using a subdomain instead of a subdirectory?

1 Answer 1


Yes, it is :) There are a few things you need to do, maybe I can point you in the right direction.

If you haven't already set up the virtual host on your server here are some instructions

If you are trying to move an existing site you will need to use a database search and replace tool to change your Wordpress directory

  • Thanks for the reply. The site is hosted on bluehost so I am not sure if I will be able to set up a virtual host. What is that doing? I dont want to move the site. I just want the subdomain site to appear to exist on the root Commented Jul 21, 2014 at 23:21
  • There is an option to do this in the blue host control panel. Check this out: my.bluehost.com/cgi/help/274
    – Lauren
    Commented Jul 22, 2014 at 14:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.