Total Noob stuck. Multiple site on single machine.
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 184.108.40.206 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!
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.
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.
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!
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.
Could you tell me how to do that, pretty please? :p
|All times are GMT +2. The time now is 05:54.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.