New DNS on a multisite install
-
I have somewhat of a big problem. I built a multisite network website in a sub-folder of my main domain. https://www.juliecloutier.com/mylene
My client had a static website hosted elsewhere at godaddy https://www.mylenepaquette.com
I wanted her to be hosted with Bluehost on my account, So while we left the dns at godaddy, I builted her new wordpress website on a multi-site Install. Then when we were ready to show this new website online, I went in bluehost and assigned the domain https://www.mylenepaquette.com to that sub-folder of my primaru domain https://www.juliecloutier.com/mylene. Then I went in godaddy and changed the DNS to point to blue host. But the first trouble was that when we typed in our browser https://www.mylenepaquette.com we would get re-directed to https://www.juliecloutier.com/mylene but the adress in the browser would show https://www.juliecloutier.com/mylene and not https://www.mylenepaquette.com as it should with the new DNS being set to bluehost and that sub-folder /mylene being assigned the domain https://www.mylenepaquette.com
So that being unacceptable, with the technician at blue host we decided to try something and we went in the wp-config file and changed those 2 lines
define(‘DOMAIN_CURRENT_SITE’, ‘www.juliecloutier.com’);
define(‘PATH_CURRENT_SITE’, ‘/mylene/’);
for
define(‘DOMAIN_CURRENT_SITE’, ‘www.mylenepaquette.com’);
define(‘PATH_CURRENT_SITE’, ‘/’);From there we would get a database connection error message when trying to view https://www.mylenepaquette.com but I could still see the site at https://www.juliecloutier.com/mylene (which I thought was pretty weird since the DOMAIN CURRENT SITE had been changed for https://www.mylenepaquette.com.
I could even login at https://www.juliecloutier.com/mylene/wp-admin and could view the dasboard of https://www.juliecloutier.com/mylene site and https://www.juliecloutier.com/mylene/en site but as soon as I tried to go in the Network Dashboard I was getting an error message.
After that, the technician at bluehost tried a few changes in the database (I think he tried to change the url of the site in the database) to solve the error message we got when going to https://www.mylenepaquette.com He was unable to solve the database error and said to me that everything looked fine in the database except that he could see 2 database one for mylenepaquette.com and the otherone for mylenepaquette.com/en I don’t know anything about database so I could not tell why this was.
Soon after that we started to get re-direction loop error message. When we tried to go to one adress or the other it would start to re-direct in a loop. And I could not see the website anymore. So I went and put an static html file to see if it would stop looping and it did.
But now I am stuck with a static page but I have no clue how to get my wordpress site to be shown. If you try to type https://www.mylenepaquette.com/index.php you will see the re-direction to https://www.juliecloutier.com/mylene, I guess if there was not an static index.html file there it would loop back and forth.
Is there anything wrong in the index.php file to loop indefinitely like that ? Or does it come from the database ? Can this be cause by the network install ? Blue host just told me they do not support my case because it is a multi-site network and they told me to see on wordpress ?
What should I do, I can’t re-build the whole site. And since I can’t even access it, I am unable to export the pages menus and posts to re-import them in a fresh install.
Can anyone help ?
- The topic ‘New DNS on a multisite install’ is closed to new replies.