You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Warhurst, SI (Spencer) " <S....@rl.ac.uk> on 2003/07/31 13:31:29 UTC

[users@httpd] Multiple domains & sub-domains

This is as much a general DNS question as it is an Apache question, but the
scenario is:

One of our customers has a domain, eg: "www.somewhere.com", and has his own
ISP hosting his website. He wants to set up a sub-domain, such as
"service.somewhere.com", but all requests for that sub-domain need to come
through to our Apache web server. The purpose of this is so that he can use
our mailing list service, which has a CGI web interface, but make it look
like it's part of his own website.

Is this possible?

Thanks

--
Spencer Warhurst


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Multiple domains & sub-domains

Posted by Brian Dessent <br...@dessent.net>.
"Warhurst, SI (Spencer)" wrote:
> 
> This is as much a general DNS question as it is an Apache question, but the
> scenario is:
> 
> One of our customers has a domain, eg: "www.somewhere.com", and has his own
> ISP hosting his website. He wants to set up a sub-domain, such as
> "service.somewhere.com", but all requests for that sub-domain need to come
> through to our Apache web server. The purpose of this is so that he can use
> our mailing list service, which has a CGI web interface, but make it look
> like it's part of his own website.

I think you would first add a CNAME record to the somewhere.com
nameservers' zone files such that service.somewhere.com is an alias to
your Apache server's name.  Then add "service.somewhere.com" as a
virtual host to your Apache httpd.conf, and go from there.  But I'm no
DNS expert so you might do it differently.

Brian

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org