Solved

How to Setup more than 1 website on 1 IP address

Posted on 2010-11-09
2
279 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Port forwarding 14 116
Restrict RDP Remote Access through SonicWall 3 95
IP Calculator 10 55
expectj telnet failing 5 22
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now