WordPress.org

Ready to get started?Download WordPress

Forums

Multi Site Network, Sub-Domains, Multiple installations of WordPress (2 posts)

  1. roberthuber
    Member
    Posted 3 years ago #

    Hi All,

    I basically have installed a blog (www.example1.com) in /wordpress in the root directory of my hosting control. I have taken the wp-config file and .htaccess for this blog and placed it in the root directory, so I can have all the installation files neatly placed in the wordpress directory. http://www.example1.com is the primary domain for my Godaddy hosting account.

    I am now trying to install a completely new installation of wordpress to be used for a multi site network - to host many different domains and subdomains.

    The problem I am facing is that I have installed wordpress sites at http://www.example2.com (in a seperate folder e.g. /example2) and have created a http://www.bob.example2.com sub directory web site through the network, however the sub domain is defaulting to the http://www.example1.com blog. I believe that this has something to do with the .htaccess and wp-config.php file in the root directory.

    However, strangely enough http://www.example2.com points correctly to the new blog.

    I have already created created and enabled my A wildcard in my dns settings in my godaddy account.

    Does anyone have any ideas as to why my sub-domain is not working. And should I, and if so how would I go about changing the arrangement of my .htaccess and wp-config.php files so that my sub-domain works correctly.

    Many thanks for your responses in advance.

    Have a great day.

    Robert

  2. have taken the wp-config file and .htaccess for this blog and placed it in the root directory, so I can have all the installation files neatly placed in the wordpress directory.

    You cannot use this setup and run a network of sites. It will not work.

    The problem I am facing is that I have installed wordpress sites at http://www.example2.com (in a seperate folder e.g. /example2) and have created a http://www.bob.example2.com sub directory web site through the network, however the sub domain is defaulting to the http://www.example1.com blog.

    You cannot do this at GoDaddy. their setup makes the main domain for that account automatically have the wildcard for the subdomains. This is why your subdomain are redirecting to the main domain.

    You cannot put anything in either your htaccess or config file to fix it.

    You have to put the wordpress files in the root domain and run multisite off that install.

Topic Closed

This topic has been closed to new replies.

About this Topic