Multiple Sites Question

Discussion in 'Graphics & Webdesign' started by coolblu211236, Jul 29, 2012.

Thread Status:
Not open for further replies.
  1. coolblu211236

    coolblu211236 New Member Prime Account

    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    I'm on illuminated hosting and I was wondering how to setup multiple website installs under the same hosting account.

    I have a wiki setup on one sql db under my main .com domain and I want to setup a separate forum and wordpress site as the forum's frontend.

    I already know how to setup the installations and add another domain and setup the forward for it.

    I want to know how to keep the forum/wordpress separate from the wiki so users can't for example type the url for one site's domain and get sent to the other separate site.
     
    Last edited: Jul 29, 2012
  2. mraz

    mraz New Member

    Messages:
    95
    Likes Received:
    3
    Trophy Points:
    0
    it's abit confusing what you are trying to achieve here.

    Is your main .com domain set up as park domain or addon domain?
    where are you intending to install the forum/wordpress? another .com domain or a subdomain from your existing .com domain?

    by default when u install these applications, it's already separated(different directories or subdomains) so that's why i'm quite puzzle what you meant by
    unless you install all this scripts on your main domain under the same directory.
     
  3. coolblu211236

    coolblu211236 New Member Prime Account

    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Yes, a new domain for the wordpress/forum setup would be added as an addon domain

    Okay Lets say the system is setup like this:

    domain1.com/wiki

    domain2.com/forum

    But someone could always just type

    domain2.com/wiki

    to get to the site hosted under the first domain (and then wonder why a completely irrelevant site is under that domain)

    So is there a way where I can make the certain directories for each site accessible only from the domain it is intended for?
     
    Last edited: Jul 29, 2012
  4. mraz

    mraz New Member

    Messages:
    95
    Likes Received:
    3
    Trophy Points:
    0
    • Like Like x 1
  5. coolblu211236

    coolblu211236 New Member Prime Account

    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    I understand now. When I set the directory for the document root it will act like a completely isolated /public_html/ for that domain.

    Thanks.
     
  6. mraz

    mraz New Member

    Messages:
    95
    Likes Received:
    3
    Trophy Points:
    0
    yep thats right!
    With addon domain, your directory will look like this.

    1. public_html
    2. public_html/domain1.com
    3. public_html/domain2.com

    files you placed in the following directory will appear in the individual domains and are not linked to the other....

    1. your x10 subdomain
    2. domain1.com
    3. domain2.com
     
  7. coolblu211236

    coolblu211236 New Member Prime Account

    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Okay so I tried this out and it works perfectly with "domain2.com" except domain1.com is my main domain and I have no x10 sub domain.

    So either have support reactivate a sub domain and switch the main to an add on. Or find something like an htaccess config that would block access to the other domain's directory when using the first domain.
     
  8. Sharky

    Sharky Community Paragon Community Support

    Messages:
    4,397
    Likes Received:
    91
    Trophy Points:
    48
    Re. not having a x10Hosting subdomain: That's fine.

    Your main domain will use files from /public_html

    Your addon domains will use the subdomain - if you have a site set up on the main domain access to the addon domains won't happen accidentally. I have my addon domains in another folder primarily for better organisation!!
     
Thread Status:
Not open for further replies.

Share This Page