Forum Moderators: phranque

Message Too Old, No Replies

domain name of the server

         

hydra

5:06 pm on Sep 7, 2004 (gmt 0)

10+ Year Member



Hello everyboday
I am a novice for using Apache Web server. I have fixed it on my XP windows. I have named the server for example as www.mydomain.com. I can not access this name and it did not work. It just work only with [localhost...]
I'd like to help me to see it as www.mydomain.com
thank you
hady

jdMorgan

7:12 pm on Sep 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hady,

Welcome to WebmasterWorld!

I assume that you have not set up DNS for this domain, and do not expect "yourdomain.com" to resolve for Web access, you just want it to work locally so you can test.

If so, add an entry to your "hosts" file. Its location varies, so use Windows search to find it. The file name is just "hosts" -- no filetype is present. It is a plain-text file.

For reference, it may already have a line it reading

127.0.0.1  localhost

Add the line

127.0.0.1  yourdomain.com

to the file (anywhere).

You'll have to exit and restart Internet Explorer for this to take effect.

Jim

hydra

11:22 pm on Sep 8, 2004 (gmt 0)

10+ Year Member



Hi jdMorgan

I did it, but it still does not work. I'd like to let me know help me in building my own server to host my own Web site.
Thank you