I'm using LAMP on a managed server with a single IP Address and Apache configured for virtual servers for the different domains I have hosted there. www.domain-name.com works fine to get me to the blog (great work BTW, very impressive application). However, once there, the domain displays as http://11.22.33.44/ (IP masked in this entry) rather than www.domain-name.com. In S9Y configuration, the domain name is used instead of the IPAddr in URL to Blog.
Have I misconfigured something?
My apache entry is
<VirtualHost 11.22.33.44>
DocumentRoot /var/www/dirname
ServerName domain-name.com
ServerAlias www.domain-name.com
<Directory "/var/www/dirname">
AllowOverride All
</Directory>
</VirtualHost>
Thanks in advance for your help.
IP Address instead of Domain in URL?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: IP Address instead of Domain in URL?
Hm, I've never seen that behaviour. Can you give us the real domain name to your blog, then I can look at what's happening to a user?
Your VHost setup looks right, though...
Regards,
Garvin
Your VHost setup looks right, though...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Real Domain
There's some server interfering and redirecting everytime you access the URL.
Using Mozillas LiveHTTP Headers and requesting your URL, I get:
So there it redirects you via Location: header.
There seems to be a MS IIS server interfering. Maybe DNS redirection?
Regards
Garvin
Using Mozillas LiveHTTP Headers and requesting your URL, I get:
Code: Select all
HTTP/1.x 302 Found
Connection: close
Date: Sun, 30 Jan 2005 18:12:04 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
HTTP_REFERER: www.e-dilemma.com
Location: http://69.44.57.70
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 135
There seems to be a MS IIS server interfering. Maybe DNS redirection?
Regards
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/