Total Noob stuck. Multiple site on single machine.

Discussion in 'Installation/Configuration' started by darkspirit386, Mar 4, 2010.

  1. darkspirit386

    darkspirit386 New Member

    I will probably look like a total noob, and I'm ready to accept that hehe. I've been looking around for a clear answer

    Ok, I just installed ISPConfig on a Fedora distro. Brand new machine and everything. I can access the ISP main panel.

    What I'm looking to do is to have multiple website hosted on my local machine, which has only one IP adress. I want to know how to redirect to like "site1" with that www adress, "site2" to another website on the same PC, etc..

    Basically, right now, I don't know at all what I'm doing, and I would need a few pointers on how to set everything. ISPConfig 2 documentation didn't help.

    Any help someone?:D

    Thank you in advance for the help!
  2. mnzava

    mnzava Member

    Do you want the site to be accessed in your LAN only? or public?
    If on LAN only, first thing to do is to create website. On the ispconfig 3 just click on a tab at the top named SITES. Then on the left click WEBSITE then click CREATE WEBSITE. On the Domain name enter e.g then enable other features like php,cgi e.t.c
    Then click create website.
    after u r done with website creation if u dont have nameserver to resolve name to ip, you have to add that website in ur host file. e.g in windowz XP windows\system32\drivers\etc\host file.
    just add:

    this means ur machine will resolve name to ipaddress.
    Keep in mind you will have to do this to every pc for it to access the site.

    Then open ur browser and point to website name u've created in ispconfig. BRAVO u r done.
    Remember you cannot access ur site using ipaddress of the server.

    If you want ur site to be accessed worldwide then ur server must be assigned static public ip address and ur registered domain name must point to ur server ip address.
    DNS settings can be configured in ISPConfig if you want. but if ur DNS is hosted elserwhere just make sure it points to ur server ip address.

    hope this gives you a good starting point.
    i've not covered everything coz ispconfig has soo many features and i wrote this using my phone.

    wish you best of luck.

  3. darkspirit386

    darkspirit386 New Member

    Thanks a lot mnzava!
    But I already have that part covered. FYI, I want 3 websites hosted on that machine, available for world wide public, and that'S where I'm getting stuck. The IP and the DNS is working least for the first website I created. How do I access the other websites on the same machine with the same IP, any technique for that?

    Again, thank you for your answer and patience!
  4. mnzava

    mnzava Member

    OK, if you manage to create your website and access from anywhere that means you can easily do for other websites.

    You have to understand that ip address of your server is a shared ip for any website hosted on your server. This is the concept with virtual hosting.

    Now to create another website, just do the same like what you did with first website, but when you register new domain name for the second website you have to make sure it points to the same public ip of your server.

    That's why i said you cant access your website using server ip address(because it's a shared ip). It has to be resolved somewhere.

    Code: points to points to
    Hope this helps,
    Last edited: Mar 5, 2010
  5. darkspirit386

    darkspirit386 New Member

    Ok, so far, I understand the concept. But really I'm stuck with "How to concretely configure that in ISPConfig 3/Demain Registrer" I do catch how it works, but I'm still not quite sure about how to set that up.

    Could you tell me how to do that, pretty please? :p


Share This Page