CONTENT

MID LEVEL


HOME - TOP LEVEL

COMPUTERS



COMPUTER PROBLEM 5

Issues using Wordpress on multiple domains hosted on the same HostGator account

 

I had set up a hosting account at Hostgator. This in theory would allow me to host as many domains as I liked, for the single monthly fee I was paying for the original account.

Everything went fine. I set up the first account, installed Wordpress using Fantistico deluxe, and used ws-ftp to upload a customised theme to Wordpress. This all worked fine and I used Wordpress to edit the customised theme page, to include my ad-sense publisher ID at the appropriate points.

A couple of days later I decided to set up another domain under the same Host Gator hosting account. I basically went through the same steps. I used ws-ftp to upload my customised theme to the same directory as previously, but having connected to the new domain.  When I then tried to access it in the Wordpress "Appearance" function, it was not showing up as an option. I was very puzzled.

Later I also noticed that my original domain was no longer displaying the ad-sense advertisements. By viewing the source it was apparent that my publisher IDs had disappeared.

Eventually after quite a bit of searching and checking file structures I found the reason.

When I added my second domain to Hostgator, it added it as a directory within the the public_html directory of my first domain. This had it's own set of Wordpress directories within it.

What I hadn't noticed was that when I was using ws-ftp to connect to the second domain, it was in fact taking me to the first domain (my Host Gator hosting account). When I uploaded my customised theme, it had gone into the theme directory of my original domain and overwrote the theme I had originally added. The solution was to copy the theme into the the Wordpress themes directory within the second domain's own sub directory.

Domain-1.com/public_html

·              cgi-bin

·              Domain-2.com

·              wp-admin

·              wp-content

Ø  plugins

Ø  themes Domain-2 themes have to be uploaded to here

Ø  upgrade

Ø  uploads

·              wp-includes

·              wp-admin

·              wp-content

Ø  plugins

Ø  themes – Domain-1 themes have to be uploaded to here

Ø  upgrade

Ø  uploads

·              wp-includes

So second and subsequent domains added to the same Hostgator hosting account appear as sub directories within the first domain registered.

Copyright Cubby-Hole.com