petermarcus: (Default)
[personal profile] petermarcus
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!

Date: 2002-09-14 09:34 am (UTC)
From: [identity profile] luker.livejournal.com
One more thing.

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)
From: [identity profile] petermarcus.livejournal.com
I was going to ask you about that....I do have it that way in the hosts file, and I wondered if that would bypass DNS. Doesn't look like it.

I may just have to get a DNS entry for that domain. Hmm. I'll try the other suggestions, though.

Thanks for the help!

Profile

petermarcus: (Default)
petermarcus

January 2012

S M T W T F S
12 34567
891011121314
15161718192021
22232425262728
293031    

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 12th, 2025 06:19 am
Powered by Dreamwidth Studios