Forum Moderators: phranque

Message Too Old, No Replies

Link domain name with my server

         

jonadchang

2:19 am on Jun 2, 2005 (gmt 0)

10+ Year Member



I have .org domain name. And I have a computer with internet connection (a static ip address). I already forward my domain name to this ip address. When I visit ***.org, it will go to 128.*.*.*.
Now I want the domain name ***.org to show in the address bar instead of the ip address.
I added a vitual host in the apache configure file.

NameVirtualHost 128.*.*.*

<VrtualHost 128.*.*.*>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot /www
ServerName www.***.org
</VirtualHost>

However, ip address also still showed in the address bar.

And I also can use www.***.org/path to visit the folder on my computer.

But how to configure the server to show the domain name in the address bar?

Thanks very much.

Clint

3:01 pm on Jun 2, 2005 (gmt 0)



Sorry I can't answer, but since you've received no replies I thought I would give you a "courtesy bump".

jdMorgan

4:56 pm on Jun 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



jonadchang,

Welcome to WebmasterWorld!

I suspect your use of the term "forwarded" in your description.

You should register your domain, go to the "DNS Zone file" for your domain, and set the "A record" for your Web domain to specify the IP address of your machine. If you are using some kind of "domain forwarding" service, then it's likely that they are doing a 301/302 redirect to your IP address, which changes the browser address bar.

Jim

jonadchang

1:26 pm on Jun 3, 2005 (gmt 0)

10+ Year Member



Thank you, Jim.

I didn't see the DNS Zone file in godday.com control panel. The "forwarding" means domain forward.

So I need a DNS to get what I want, right?

Can I just use some kind of free DNS?

Thanks again.

jdMorgan

4:06 pm on Jun 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> The "forwarding" means domain forward.

This is not a strictly-defined term, there are many ways to "forward" a domain, and many of them are very bad from a site maintenance and/or search engine optimization viewpoint. Domain forwarding is a work-around used to mask some of the drawbacks of free or cheap hosting, and also by some as an attempt to 'hide' online. There are dangers in it as well, but I don't care to elaborate here.

In many cases, the setup and administration of a site is much simpler with a straightforward domain registration and site hosting plan.

If you have registered a domain name, contact the company that provides your nameservers and ask them how to update your DNS records -- This is often in their FAQ section.

Jim

jonadchang

12:19 am on Jun 9, 2005 (gmt 0)

10+ Year Member



Thank you. I just found that I can set the DNS in <my hosting company's> control panel.

After I clicked on the "add new a record", <another interface popped out.>

So I only need to enter my host name and put the IP address of my server into the "Enter Points To IP Address" and save.

Is that all I need to do?

Thanks very much.

[edited by: jdMorgan at 1:53 am (utc) on June 9, 2005]
[edit reason] Removed links per TOS. [/edit]

jdMorgan

1:52 am on Jun 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> Is that all I need to do?

I'm not sure -- I don't use that hosting company.

Why not try it and see?

Jim

jonadchang

2:07 pm on Jun 9, 2005 (gmt 0)

10+ Year Member



It works!