subdomain redirecting to domain
Question posted by: pedalpete
(Member)
on
July 8th, 2008 05:49 AM
i've gone through lots of forums and responses but can't seem to figure out how to get my subdomain to work.
When I enter my subdomain into my browser, it redirects to my main domain.
My (slightly edited) Apache httpd.conf virtual host section reads
Code: ( text )
<VirtualHost *:80> ServerAdmin pete@mysite.com DocumentRoot /www ServerName site.com </VirtualHost> <VirtualHost *:80> ServerAdmin pete@mysite.com DocumentRoot /www ServerName www.mysite.com </VirtualHost> <VirtualHost *:80> ServerAdmin pete@mysite.com DocumentRoot /www/iphone ServerName iphone.mysite.com </VirtualHost>
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
Not the answer you were looking for? Post your question . . .
180,784 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).
|
|
|
Top Apache Forum Contributors
|