Solved

How to Setup more than 1 website on 1 IP address

Posted on 2010-11-09
2
281 Views
Last Modified: 2012-08-13
With my Simple Control Panel I have 1 IP address I would like to host more than 1 website from that IP address how is this possible?  How would I set it up in Simple Control Panel?  It's a linux server running CentOS.
0
Comment
Question by:N R
2 Comments
 
LVL 17

Expert Comment

by:StrifeJester
ID: 34094782
You would have to do header inspection.  This will allow the server to look into the headers and get the domain out of them and then it can forward it properly to the right host.  Not sure 100% on how to do this with you current software but searching for header inspection may help.

http://products.secureserver.net/products/simplecontrolpanel12/sia/domains.htm

It sounds like the software already has this feature just adding the domains should be enough.  Then you would just use a different home directory for each domain.  When you setup DNS use the IP Address from the server and Simple Control Panel it appears from my brief research will inspect the header in the packet and handle the routing.
0
 
LVL 11

Accepted Solution

by:
jgiordano earned 500 total points
ID: 34095259
It is incredibly easy to do using apache/httpd and virtual hosts

http://httpd.apache.org/docs/1.3/vhosts/
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question