IP Address instead of Domain in URL?
Posted: Sat Jan 29, 2005 5:44 am
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.
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.