Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th March 2010, 18:20
darkspirit386 darkspirit386 is offline
Junior Member
 
Join Date: Mar 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Total Noob stuck. Multiple site on single machine.

Heya!!
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 3.0.1.6 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?

Thank you in advance for the help!
Reply With Quote
Sponsored Links
  #2  
Old 5th March 2010, 10:38
mnzava mnzava is offline
Member
 
Join Date: Aug 2007
Location: Dar es Salaam, Tanzania
Posts: 48
Thanks: 8
Thanked 0 Times in 0 Posts
Default

Hi,
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 example.com 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:
yourserveripaddress example.com

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.

Regards
Reply With Quote
  #3  
Old 5th March 2010, 12:35
darkspirit386 darkspirit386 is offline
Junior Member
 
Join Date: Mar 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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 great....at 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!
Reply With Quote
  #4  
Old 5th March 2010, 15:27
mnzava mnzava is offline
Member
 
Join Date: Aug 2007
Location: Dar es Salaam, Tanzania
Posts: 48
Thanks: 8
Thanked 0 Times in 0 Posts
Default

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.

e.g:
Code:
firstwebsite.com points to 192.168.0.100
secondwebsite.com points to 192.168.0.100
Hope this helps,

Last edited by mnzava; 5th March 2010 at 15:31.
Reply With Quote
  #5  
Old 8th March 2010, 15:36
darkspirit386 darkspirit386 is offline
Junior Member
 
Join Date: Mar 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by mnzava View Post
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.

e.g:
Code:
firstwebsite.com points to 192.168.0.100
secondwebsite.com points to 192.168.0.100
Hope this helps,
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?

Thanks!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with DNS and multiple site on single IP 8com Installation/Configuration 6 10th June 2010 11:09
Hosting multiple domains to a single doc root KenKnight General 1 14th January 2010 18:45
Multiple Domains (with SSL), one site? AlArenal General 5 3rd August 2009 12:43
Multiple IPs on a single ISPConfig install? Craig Installation/Configuration 4 14th December 2006 18:22
Multiple tld's to one site locosoft Installation/Configuration 1 15th June 2006 14:22


All times are GMT +2. The time now is 18:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.