The MU forums have moved to WordPress.org

Apache, Mu and Domain Mappings (2 posts)

  1. chenevel
    Member
    Posted 14 years ago #

    I have been developing a wordpress mu website for a client. This site contains 4 blogs, http://www.xyz.com/, http://www.xyz.com/a, http://www.xyz.com/b and http://www.xyz.com/c. I have everything working fine, however I need to map the http://www.xyz.com/c blog to http://www.abc.com. So I have changed the http://www.xyz.com/c's domain to http://www.abc.com and path to '/', and also mapped the DNS for both domains to the same IP. http://www.abc.com's home page works properly but any link within http://www.abc.com redirects back to http://www.xyz.com.

    I am running Apache on one IP with the following Virtual Host setup

    ServerName xyz.com

    <VirtualHost *:80>
    ServerAlias *.xyz.com
    </VirtualHost>

    I have tried many different VitualHost setups and nothing is working and in simple terms I just want the http://www.abc.com blog to display the same thing http://www.xyz.com/c would.

    Any thoughts?

    Thanks

  2. timanrebel
    Member
    Posted 14 years ago #

    Did you try adding Serveralias http://www.abc.com to the virtualhost section? (Just below Serveralias *.xyz.com)

About this Topic

  • Started 14 years ago by chenevel
  • Latest reply from timanrebel