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


  Search this Thread
Old 09-27-2002, 11:43 AM   #1
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
apache virtual hosting / point more than one domain to my single IP?

I currently have an ADSL with a single static IP address through DirectTV broadband and have my apache server for my personal domain on this IP. I want to register the noprofit's domain and have the domain pointed to my IP address without screwing up my current domain and without getting into any problems with my ADSL provider. My domain registration guys say they have a URL forwarding service for $6 per year. They say, [quote]

I can only confirm that [we] can URL-forward to a valid web address. If you can type it into a browser and pull up a website, [we] can forward to it. [end quote]

I just want to confirm: (1) that I can register a domain, with a domain registration service service; (2) have you point requests for that domain to my current IP address while at the same time still using the same IP address for my current domain, url];[/url] 3) that i will receive the information my server needs (the HTTP Host header required by HTTP/1.1) to arbitrate between the two domains occupying the one IP address: and (4) that this will be transparent to my current ISP and not require additional resources from my ISP (or to what extent I need my ISP's cooperation).

As opposed to IP-based virtual hosts which use the IP address of the connection to determine the correct virtual host to serve, I don't want to have acquire a separate IP address for each host. With name-base virtual hosting, the server relies on the client to report the hostname as part of the HTTP headers. Using this technique, many different hosts can share the same IP address (according to the apache folks).

Can you confirm that the answers to my four questions are yes? Is there any reason my IP will need to know or care about this?

Last edited by rioguia; 09-27-2002 at 11:46 AM.
Old 09-27-2002, 07:18 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
There's one answer to all your questions: YES, it's possible.
My machine has 3 different domains (4th one in progress) and it works without a problem. Don't worry.

BTW In fact, you don't need any forwarding service - you can install your own DNS server (bind, for example) and manage your new domain yourself (this solution is good if your machine is up all the time).


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
Apache Virtual Hosting abhijeetudas Linux - Networking 2 05-29-2005 05:26 AM
Virtual hosting/ domain question Kovacs Linux - Networking 2 11-23-2004 06:55 AM
Virtual Hosting with apache, i think... dengi Linux - Software 1 10-26-2003 10:43 PM
Help with Apache virtual hosting fin Linux - Newbie 1 04-30-2002 11:50 AM
Apache Virtual Hosting kmac Linux - General 2 04-12-2001 11:23 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:30 AM.

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