Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

subdomain processing with IP based virtual hosts?

Status
Not open for further replies.

vulcand4

Programmer
Jul 29, 2003
76
US
I'm looking for a good solution for hosting subdomains with IP based virtual hosting instead of name based virtual hosting.

I have an IP address from which I'm serving up SSL based web content. Because I'm using SSL, I can't use "NameVirtualHost".

I need to serve up pages from www.mydomain.com and different pages from admin.mydomain.com.

I've tried using mod_alias to redirect a request for to something like but the redirect only seems to look at the portion of the URL that comes after the domain, not the domain itself. So it doesn't seem to be able to see that the user has requested admin.mydomain.com vs.
Any clever thought on how this might be done?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top