how show domainname in browser's address bar?
Posted by: Piet (---.adsl.xs4all.nl)
Date: April 11, 2007 12:16PM

Recently I had a .eu domainname registered and directed to my IP-address at my home-LAN.
Every time a visitor on the internet types my domainname in his browser, the IP-address shows up in the address bar and the domainname disappears. The website shows up fine though. Also in emails which are sent from an automated email PHP- script I run at my latest version WAMP-webserver, the IP-address shows up in the text instead of the domainname. In the httpd.conf file I have already set " ServerName www.mysitename.eu:80" instead of the default " ServerName localhost:80" .

Any idea how I can let the domainname show up instead of the IP-address?



Post Edited (04-11-07 12:18)

Options: ReplyQuote
Re: how show domainname in browser's address bar?
Posted by: CyberSpatium (71.237.217.---)
Date: April 11, 2007 12:36PM

you need a dynamic dns service like zoneedit.com.



CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!

Please visit my latest website Clarify Loans:
clarifyloans.com


Like my free support? Help support me by making a donation today!

Options: ReplyQuote
Re: how show domainname in browser's address bar?
Posted by: Piet (---.adsl.xs4all.nl)
Date: April 11, 2007 02:22PM

Thanks for this. But I don't get it.
I have a static IP-address, so it's always the same address. So why a dynamic dns service? And above that: people who type the domainname in their browsers can connect to the website on my webserver without any problem. So I would say the DNS "forwarding" look okay to me. It's just the annoying ip-address showing in the address bar.
Am I forgetting something?

Options: ReplyQuote
Re: how show domainname in browser's address bar?
Posted by: yfastud (72.236.169.---)
Date: April 11, 2007 02:43PM

Quote

Am I forgetting something?
Yep, you do, and more than 1

dns converts your web ip into your domain

In cofig file, it should be:

ServerName www.mysitename.eu

But not:

ServerName www.mysitename.eu:80

Have fun,

[www.jlbn.net] (testing WAMPS)
[test.jlbn.net] (testing codes)

Options: ReplyQuote
Re: how show domainname in browser's address bar?
Posted by: Piet (---.adsl.xs4all.nl)
Date: April 11, 2007 03:18PM

" more than 1 dns converts your web ip into your domain"

Ah, okay. So you are saying that I should subscribe to this zoneedit.com anyhow. Okay I will do that. And I will also delete the :80 from the httpd.conf file.

Hope that'll work.

Thanks!



Post Edited (04-11-07 15:20)

Options: ReplyQuote
Re: how show domainname in browser's address bar?
Posted by: CyberSpatium (71.237.217.---)
Date: April 11, 2007 05:28PM

yes, use zoneedits dynamic dns service to tie your domain name to your ip address. search this forum for virtual host, and virtual hosting for more info.


CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!

Please visit my latest website Clarify Loans:
clarifyloans.com


Like my free support? Help support me by making a donation today!

Options: ReplyQuote
Re: how show domainname in browser's address bar?
Posted by: Piet (---.adsl.xs4all.nl)
Date: April 11, 2007 06:34PM

" virtual host, and virtual hosting "

Wow, this is a whole new world to me.
Thanks for the useful hints!

Options: ReplyQuote
Re: how show domainname in browser's address bar?
Posted by: yfastud (---.cable.mindspring.com)
Date: April 12, 2007 05:24AM

If you only have 1 site, you don't need to setup vh, just rename or delete everything (recommend rename) in www folder, then save all your pages in it

Have fun,

[www.jlbn.net] (testing WAMPS)
[test.jlbn.net] (testing codes)

Options: ReplyQuote
Re: how show domainname in browser's address bar?
Posted by: Piet (---.adsl.xs4all.nl)
Date: April 19, 2007 11:45PM

Problem solved.
My domainname wasn't pointing to my IP address, but to some 3rd party company and was from there "redirected" to my IP. That's when the domainname gets lost and the IP address remains visible in the browser's address bar.
My host changed the DNS setting so that the domainname pointed to my IP address and that solved the problem.

Thanks for the help.

Options: ReplyQuote
Re: how show domainname in browser's address bar?
Posted by: techno_man (---.20-57-74.mc.videotron.ca)
Date: April 20, 2007 12:17AM

Author: yfastud (72.236.169.---)
Date: 04-11-07 14:43
Quote:
Am I forgetting something?
Yep, you do, and more than 1
dns converts your web ip into your domain
In cofig file, it should be:
ServerName www.mysitename.eu
But not:
ServerName www.mysitename.eu:80
---------------------------------------
ok yfastud, QUESTION I have ?

ServerName localhost:80 (in config httpd) EXAMPLE DEFAULT
ServerName www.mydomain.com (in config httpd) so it changes from dispalying the localhost when people are viewing) ?

Options: ReplyQuote


Sorry, only registered users may post in this forum.