The MU forums have moved to WordPress.org

One dedicated server, multiple Wordpress installs (2 posts)

  1. rumshopnews
    Member
    Posted 16 years ago #

    Hello,

    I am trying to run wordpres MU on one dedicated server, but can't get the Vhosts to work - only for one domain, not the other.

    Here is what my httpd.conf looks like:

    <VirtualHost *:80>
    ServerAdmin webmaster@domain1.com
    DocumentRoot /home/domain1/public_html
    ServerName http://www.domain1.com
    ServerAlias domain1.com *.domain1.com
    ErrorLog logs/domain1.com-error_log
    CustomLog logs/domain1.com-access_log common
    </VirtualHost>

    <VirtualHost *:80>
    ServerAdmin i.am@domain2.com
    DocumentRoot /home/domain2/public_html
    ServerName http://www.domain2.com
    ServerAlias domain2.com *.domain2.com
    ErrorLog logs/domain2.com-error_log
    CustomLog logs/comain2.com-access_log common
    </VirtualHost>

    Also, I have been working trying to get Multi-Site Manager working. I can't for the life of me get this done. Does anyone have a simple walk-through on what edits need to be made to httpd.conf?

    I understand that all additional domains need to be "pointed" to the root of the initial domain, but I can't get this to work with Cnames and my Simple Control Panel automatically sets the "DocumentRoot" of all domains to be /home/[DOMAIN-NAME]/public_html so i can't edit it from the GUI.

    Thanks in advance

  2. rumshopnews
    Member
    Posted 16 years ago #

    with the above setting subdomain.domain2.com always points to the signup page of of domain1.com.

About this Topic

  • Started 16 years ago by rumshopnews
  • Latest reply from rumshopnews