IP Address instead of Domain in URL?

Having trouble installing serendipity?
Post Reply
jch

IP Address instead of Domain in URL?

Post by jch »

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.
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?

Post by garvinhicking »

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
# 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/
jchotz
Posts: 2
Joined: Sat Jan 29, 2005 5:48 am
Location: Austin, TX
Contact:

Real Domain

Post by jchotz »

Thanks Garvin.

www.e-dilemma.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Real Domain

Post by garvinhicking »

There's some server interfering and redirecting everytime you access the URL.

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
So there it redirects you via Location: header.

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/
jchotz
Posts: 2
Joined: Sat Jan 29, 2005 5:48 am
Location: Austin, TX
Contact:

Post by jchotz »

Thanks Garvin. When I ping e-dilemma.com I get 63.251.83.56. Looks like a DNS Update problem. I samspaded them and sent an email to their NOC.

Thanks again Garvin - and keep up the good work.
Post Reply