• I am familiar with Giving WordPress Its Own Directory, as defined here. I do this all the time.

    Per the above Support link:
    “WordPress allows you to install it into a subdirectory, but have your website served from the website root.”

    Now I have a need to follow exactly the same process, substituting a subdomain for the subdirectory. The subdomain is on the same server. What do I need to know before trying this? I’ve scoured the Net for answers but haven’t seen this approach discussed. I am using a Linux/Cpanel setup for this installation.

Viewing 4 replies - 1 through 4 (of 4 total)
  • If I have understood you correctly, I simply nest a new folder and then put WordPress there and go to it in a browser after having manually set up a new database and wp-config.php.

    mysite.com > /wherever/
    mysite.com/next > /wherever/next/

    Thread Starter ImagePros

    (@acedugan)

    Thank you leejosepho,

    My developer thinks it will be not difficult to host index.php and .htaccess on the public root (example.com), and the WordPress installation on the subdomain (wordpress.example.com).

    These IP addresses will be different. But we don’t see anything in the WP core that will break. We also think that using localhost will cause no need to create or move the database.

    Anyone else have a suggestion before I do this?

    My developer thinks it will be not difficult to host index.php and .htaccess on the public root (example.com), and the WordPress installation on the subdomain (wordpress.example.com).

    The Developer is correct, and then the question will only be whether s/he knows how to actually make that happen!

    My main website is https://www.markheadrick.com which is in my root directory (/public_html/). I created a sub-domain of blog.markheadrick.com which is in the /public_html/blog/ directory. Just make sure you make the directory the “root” of the sub-domain.

    In my case, since it’s a shared server, the IP address is the same for everything.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Giving WordPress Its Own Subdomain’ is closed to new replies.