LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-29-2004, 09:17 AM   #1
Jestrik
Member
 
Registered: Dec 2003
Location: Hampshire, UK
Distribution: gentoo, Debian Sarge, Slack 9.1
Posts: 206

Rep: Reputation: 30
Can Apache host more than one webpage?


I already have apache setup to host one webpage on my linux rh9 server. I have it setup so that no-ip forwards the domain to my dynamic IP. Is it possible to host another webpage on the same computer and this belong to a different domain. If so, how should I go about doing this? BTW, i'm behind a firewall so would I have to make it so the different webpage went through a different port?

Cheers for any help =)
 
Old 03-29-2004, 11:57 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
virtualHost

Have you tried setting up virtual hosts?

http://httpd.apache.org/docs/vhosts/
http://httpd.apache.org/docs-2.0/vhosts/
 
Old 03-29-2004, 04:15 PM   #3
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
You can have Apache serve more than one website.

There are basically three things that address the site
1. IP-address
2. service port
3. HTTP Referrer

You can set up your Apache to distinguish which site to present according to any of the three above parameters.

You could have a second site running on the same IP address and same port number if you have a different DNS name associated to it.

The function is called virtual hosts.
Now I'm on thin ice and canäthelp you more about how to set it up.
 
  


Reply



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
Apache - Name virtual host tisource Linux - Networking 5 03-03-2006 02:52 AM
Apache doesn't display php webpage rover SUSE / openSUSE 2 11-08-2004 10:07 AM
executing script via webpage through apache server feetyouwell Linux - Software 7 02-08-2004 03:23 PM
Webpage loads slowly using virtual hosts in Apache 2.0 Linux Redhat 9 dste0713 Linux - General 0 01-21-2004 12:35 PM
Local Host Webpage littlebradley Linux - Software 4 05-09-2003 08:39 PM

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

All times are GMT -5. The time now is 02:59 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
Open Source Consulting | Domain Registration