Previous Thread
Next Thread
Print Thread
Rate Thread
#3341 10/09/02 12:21 AM
Joined: Mar 2002
Posts: 185
M
Member
Member
M Offline
Joined: Mar 2002
Posts: 185
Is it possible to run two websites with different domain names on the same apache server? If so does anyone know how?


Cha want some w***up?

http://www.dopeskill.com
Sponsored Links
▼ Sponsored Links ▼ ▲ Sponsored Links ▲
#3342 10/09/02 03:18 AM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
Absolutely. You can have many virtual hosts. Check the bottom of the httpd.conf or your reference for more information. These virtual hosts can be configured to listen on different IP's. But that isn't required.


Domain Registration, Hosting, Management
http://www.dollardns.net
#3343 10/09/02 03:32 AM
Joined: Oct 2002
Posts: 37
Junior Member
Junior Member
Joined: Oct 2002
Posts: 37
What SilentRage said. This is a very easy thing to do under Apache. However, if you plan on running more then one or two, I'd suggest creating a seperate file to manage them. Then adding in an Include directive to include them into the httpd file. An organization issue. I always do this as my server has many different names that it has to pretend it is.

I'm also thinking of writing a tutorial on Apache. Is there anything that anyone would like me to cover in said tutorial? If I have enough interest, I'll write something fairly detailed and oriented to the people who are interested in it.

#3344 10/12/02 09:46 PM
Joined: Mar 2002
Posts: 1,136
P
UGN Elite Poster
UGN Elite Poster
P Offline
Joined: Mar 2002
Posts: 1,136
Yeah, if you could include integrating Tomcat and Apache together, that would be great.


Link Copied to Clipboard
Member Spotlight
None yet
Forum Statistics
Forums41
Topics33,840
Posts68,858
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Dartur 1
Cyrez 1
Girlie 1
unreal 1
Powered by UBB.threads™ PHP Forum Software 8.0.0