(no subject)
Sep. 13th, 2002 10:04 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I need some help from the hive mind of techies out there ;)
I have Apache 2.x running on a Linux server. The server isn't in DNS yet, though it's being forwarded from my domain host at Yahoo.
If I put the IP of the server in my address bar, my temp page comes up, but the IP address is still in the address bar. What I want to do is put my domain name www.URingMe.com in the address bar. I've changed the following options in the httpd.conf file:
ServerName www.URingMe.com:80
UseCanonicalName On
< VirtualHost 64.221.95.91 >
ServerName www.URingMe.com
UseCanonicalName On
< / VirtualHost >
Stopped the apachectl and started it again, but I'm still getting IP addresses in the address bar, not the ServerName. Any ideas?
It's at http://64.221.95.91
Thanks!
I have Apache 2.x running on a Linux server. The server isn't in DNS yet, though it's being forwarded from my domain host at Yahoo.
If I put the IP of the server in my address bar, my temp page comes up, but the IP address is still in the address bar. What I want to do is put my domain name www.URingMe.com in the address bar. I've changed the following options in the httpd.conf file:
ServerName www.URingMe.com:80
UseCanonicalName On
< VirtualHost 64.221.95.91 >
ServerName www.URingMe.com
UseCanonicalName On
< / VirtualHost >
Stopped the apachectl and started it again, but I'm still getting IP addresses in the address bar, not the ServerName. Any ideas?
It's at http://64.221.95.91
Thanks!
hmmm
Date: 2002-09-13 07:33 am (UTC)no subject
Date: 2002-09-13 07:47 am (UTC)ServerName www.example.net
ServerAlias example.com
Redirect permanent / http://www.example.com/
</VirtualHost>
no subject
Date: 2002-09-13 07:50 am (UTC)ServerName www.URingMe.com
ServerAlias 64.221.95.91
Redirect permanent / http://64.221.95.91/
< /VirtualHost >
woops... take the spaces out
Re:
Date: 2002-09-13 08:06 am (UTC)no subject
Date: 2002-09-13 08:20 am (UTC)Re:
Date: 2002-09-13 08:37 am (UTC)no subject
Date: 2002-09-14 08:50 am (UTC)Couple of things to check.
~ do you have a "NameVirtualHost 64.221.95.91" statement
~ also I have never been able to get
Couple of things to check.
~ do you have a "NameVirtualHost 64.221.95.91" statement
~ also I have never been able to get <VirtualHost *> to work so probably stay away from this.
~ the SeverName directive MUST be a valid DNS name so use the IP
~ Also you need NameVirtualHost and VirtualHost only if you will have more than one domain hosted by this machine.
All in all it is very difficult to do anything without a valid DNS entry. Let me keep digging throughout the day and I'll get back to you. Feel free to email me on this.
no subject
Date: 2002-09-14 09:34 am (UTC)put your www.uringme.com in your /etc/hosts like this
64.221.95.91 www.uringme.com
append to the end of the line whatever the real hostname is. You can also append the www.uringme.com to the end of the line if it already exists.
Re:
Date: 2002-09-14 09:45 am (UTC)I may just have to get a DNS entry for that domain. Hmm. I'll try the other suggestions, though.
Thanks for the help!