LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-26-2004, 10:00 PM   #1
Redbone981sl
Member
 
Registered: Jul 2003
Posts: 73

Rep: Reputation: 15
2 web sites on one address ?


Can I run two different web sites off one internet address? I have one running on one pc and another on another (on a different address) but I would like to put them on the same address so I could make my home network more secure.
Thanks Redbone981sl
 
Old 02-26-2004, 10:53 PM   #2
joel2600
LQ Newbie
 
Registered: Jul 2003
Posts: 7

Rep: Reputation: 1
yeah, you can do this with apache (which i'm assuming you are using)... there are few ways to do this. you could put the websites on different ports, but then at least one of them would have to be accessed by http://www.website.com:1234 where 1234 is any port number you choose... or i'm sure the way you will want to do it is to use virtual hosts... this is where you have 2 websites on the same server, but they are differentiated by their respective names... ie, the webserver knows the request is for www.xxx.com so it gives you that page, and if the webserver knows the request is for www.yyy.com then you get that page, and you can do this over and over and have a whole myriad of sites on one server.

check your apache config file, it pretty much spells everything out in the comments for ya. hope this helps.
 
Old 02-27-2004, 01:53 AM   #3
roopunix
Member
 
Registered: Feb 2004
Location: Kathmandu
Distribution: Redhat/fedora/Suse [Wanna Drive With Debian]
Posts: 208

Rep: Reputation: 30
ya it can be done by virtually by /etc/httpd/conf/httpd.conf give me your mail address i give u the detail configuration. it 's too simple
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Personal web server for testing web sites? Ariod Linux - Newbie 12 09-29-2005 04:30 PM
'traveling' web sites thar Programming 1 05-17-2004 04:54 PM
Web Sites g_goblin Linux - General 1 11-18-2002 09:08 AM
Can't access some web sites! Cichlid Linux - Distributions 1 01-12-2002 03:04 PM
I Can Connect to Some Web Sites, But Not Others oostevo Linux - General 5 10-29-2001 08:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration