#1
  1. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Aug 2004
    Posts
    617
    Rep Power
    144

    Multiple sites on the same hosting account


    Hello, I would like to host more then one site on the same hosting account however I do not know what is the best way to organise these sites. My hosting service does allow me to host more then one site on the same account.

    Now, when I bought the hosting service I had to define my primary domain (ex: mydomain.com). This points to the root (/). Then I created a subdomain (ex: subdomain1.mydomain.com) which points to /subdomain1. I then created another subdomain (ex: subdomain2.mydomain.com) which points to /subdomain2.

    Now I want Joomla installed for mydomain.com, subdomain1.mydomain.com and subdomain2.mydomain.com. With my current structure everything works great. However my problem is that in the root directory (/) I have both Joomla files and folders and also the directories for my other two sites.

    I am afraid that if I update Joomla (or maybe I do something stupid) for mydomain, I could finish erasing the directories for my other two websites. Therefore I was wondering; is it possible to organise my websites as following;

    /mysite
    /subdomain1
    /subdomain2

    while still be able to access mysite with http://mydomain.com (and not http://mydomain.com/mysite). I am asking this because when I create a subdomain the hosting provider allows me to point this to a directory. However for the primary domain (mydomain.com) the hosting provider does not allow me to so.

    Therefore I am afraid that with the above structure I would only be able to access mysite for the primary domain by writing http://mydomain.com/mysite while I would like to access mysite using the url http://mydomain.com

    Any ideas?
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2009
    Location
    Texas
    Posts
    6
    Rep Power
    0
    If I am not mistaken, that would be a matter of DNS pointing which shouldn't be an issue, but I would check with your host to make sure, I know that the host I use has a Domain Name Pointer tool within the administration control panel, plus, and this is of course obvious, but just be sure to backup the other 2 directories/sites (download to local computer/drive) before making any other changes. In fact, I have my host do an automatic backup every week or so, so that if anything goes wrong I can at least just jump back to last weeks backup and be fine. Sorry for the lengthy reply and I am about to sign off for the night in about 20 mins, but please let me know if this was what you were looking for or if I misunderstood. Good luck, Earl.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2010
    Posts
    21
    Rep Power
    0
    Originally Posted by sim085
    Hello, I would like to host more then one site on the same hosting account however I do not know what is the best way to organise these sites. My hosting service does allow me to host more then one site on the same account.

    Now, when I bought the hosting service I had to define my primary domain (ex: mydomain.com). This points to the root (/). Then I created a subdomain (ex: subdomain1.mydomain.com) which points to /subdomain1. I then created another subdomain (ex: subdomain2.mydomain.com) which points to /subdomain2.

    Now I want Joomla installed for mydomain.com, subdomain1.mydomain.com and subdomain2.mydomain.com. With my current structure everything works great. However my problem is that in the root directory (/) I have both Joomla files and folders and also the directories for my other two sites.

    I am afraid that if I update Joomla (or maybe I do something stupid) for mydomain, I could finish erasing the directories for my other two websites. Therefore I was wondering; is it possible to organise my websites as following;

    /mysite
    /subdomain1
    /subdomain2

    while still be able to access mysite with http://mydomain.com (and not http://mydomain.com/mysite). I am asking this because when I create a subdomain the hosting provider allows me to point this to a directory. However for the primary domain (mydomain.com) the hosting provider does not allow me to so.

    Therefore I am afraid that with the above structure I would only be able to access mysite for the primary domain by writing http://mydomain.com/mysite while I would like to access mysite using the url http://mydomain.com

    Any ideas?
    .htaccess is your best friend, go read some tutorials by doing a quick google search and you can accomplish exactly that!
  6. #4
  7. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    May 2006
    Posts
    534
    Rep Power
    15
    We do support multiple domain hosting on our hosting plans. Please let me know your webspace / bandwidth requirements so that i can help you with package selection.
    All our hosting plans are Fully Managed so you can concentrate more on your business rather then playing with tech issues.
    Webhosting.uk.com - WHUK
    Domain ID Protection | Cloud Backup Solutions by WHUK | Managed Dedicated Hosting Services
    81% OFF .Store TLD | 70% OFF .shop TLD | 40% OFF .Blog TLD | 20% OFF .Cloud TLD
    New TLDs Up for Grabs!

IMN logo majestic logo threadwatch logo seochat tools logo