WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Subdomain using other applications other than WP

[Resolved] Subdomain using other applications other than WP

  • Why does wordpress not allow a subdomain to exist intstead it shows the main domain root is there a way around this ?

    i want to put wp in the site root and a completely different program in the subdomain

    is this possible ?

Viewing 1 replies (of 1 total)
  • assume you use Apache, it is rather simple. Say, if you want a /var/www/html/subDomain1 to hold your subDomain programs, you can set up two virtual hosts in httpd.conf
    1. ‘subDomain1.yourdomain.com’ to have /var/www/html/subDomain1 as its DocumentRoot
    2. ‘www.yourdomain.com’ to have ‘/var/www/html/wordpress’ as its DocumentRoot

    In other words, wordpress isn’t self-aware, but relies on Apache to direct requests to it.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Subdomain using other applications other than WP’ is closed to new replies.