Koozali.org: home of the SME Server

ip address showing in url

ldavies

ip address showing in url
« on: May 22, 2004, 09:18:39 PM »
I have registered http://www.lloydus.net (set up in esmith in an ibay) and http://www.boldwellies.com (which is set up in my primary ibay) with GoDaddy (http://www.godaddy.com).  I have told godaddy to forward each one to http://68.166.34.32 where I have esmith 6.01 acting as server and gateway.

I also have an alias set up to point www.boldwellies.com to http://www.boldwellies.com/home

When you browse to http://www.boldwellies.com it changes the url to that of my ip address i.e. http://68.166.34.32.   However from inside the network all the urls look fine so I did not realize I had a problem until recently.....

What's the deal?  I want people to see the real domain name.  Can anyone help?

rickjones

Re: ip address showing in url
« Reply #1 on: May 22, 2004, 10:02:22 PM »
Quote from: "ldavies"
I have told godaddy to forward each one to http://68.166.34.32 where I have esmith 6.01 acting as server and gateway.

When you browse to http://www.boldwellies.com it changes the url to that of my ip address i.e. http://68.166.34.32.   However from inside the network all the urls look fine so I did not realize I had a problem until recently.....


It's doing exactly what you've asked - forwarding to your IP address. This means the IP becomes the URL.

To do what you want you need the DNS for boldwellies.com to be your real IP, in which case you don't need any forwarding either. I don't know if godaddy offer that. I use ZoneEdit, which is excellent and enables you to do all these things.

If godaddy offer "cloaked" forwarding, that should keep the URL in the title bar. It's a hack using frames, so can have side-effects.

tymiles

Re: ip address showing in url
« Reply #2 on: May 24, 2004, 04:36:29 AM »
Quote from: "rickjones"
Quote from: "ldavies"
I have told godaddy to forward each one to http://68.166.34.32 where I have esmith 6.01 acting as server and gateway.

When you browse to http://www.boldwellies.com it changes the url to that of my ip address i.e. http://68.166.34.32.   However from inside the network all the urls look fine so I did not realize I had a problem until recently.....


It's doing exactly what you've asked - forwarding to your IP address. This means the IP becomes the URL.

To do what you want you need the DNS for boldwellies.com to be your real IP, in which case you don't need any forwarding either. I don't know if godaddy offer that. I use ZoneEdit, which is excellent and enables you to do all these things.

If godaddy offer "cloaked" forwarding, that should keep the URL in the title bar. It's a hack using frames, so can have side-effects.


The last time this problem was posted I said that it was a DNS problem but the user blew me off! ??

Souley

ip address showing in url
« Reply #3 on: May 24, 2004, 05:42:24 AM »
DNS troubles

Have a look at your registrar page & configure correctly apache ...

Souley

ldavies

ip address showing in url
« Reply #4 on: May 25, 2004, 06:32:12 AM »
So godaddy do offer what they call "masking".  This is what they say about it:

Quote
QUESTION:  
  What is masking and how do I set it up for my domain?  
 
 ANSWER:
  Masking works with domain name forwarding. Forwarding redirects all Web traffic for a domain to a specific URL. When someone types your-domain-name.com into a browser, our system will automatically forward or redirect them to your selected destination URL.

Forwarding with Masking prevents visitors from knowing that they have been redirected by securing that your domain name remains in the visitor's browser's address bar when he/she is being redirected, thus concealing the actual destination address.

The Forwarding with Masking option further enables users to add a title, plus description and keywords Meta tag data to the masked site. Title and Meta tag information is important to a Web site’s search engine ranking, but does not influence how a Web site is being displayed.


To add masking to your domain name forwarding, you must log in to your account.


So I have masked all my domains:
http://www.boldwellies.com  (in primary ibay)
http://www.lloydus.net  (in another ibay)
http://www.poopily.com  (in yet another ibay)

Today, at work, when I looked at my websites from the internet I nothing comes up......

Of course it all looks fine from the lan side so I will have to wait until I go to work tomorrrow to take another look.

I know that this is a simple problem.

rickjones

ip address showing in url
« Reply #5 on: May 25, 2004, 11:52:32 AM »
Quote from: "ldavies"

So I have masked all my domains:
http://www.boldwellies.com  (in primary ibay)
http://www.lloydus.net  (in another ibay)
http://www.poopily.com  (in yet another ibay)

Today, at work, when I looked at my websites from the internet nothing comes up......

Of course it all looks fine from the lan side so I will have to wait until I go to work tomorrrow to take another look.

I know that this is a simple problem.


The simple solution is that you should not be using forwarding or masking. You should set the DNS address of your domain names to the IP of your SME server. At the moment your domains resolve to the address of one of godaddy's machines. This should be changed to the address of your machine.

Do godaddy give you that degree of control over your DNS? If they don't then it won't work.

The solution in that case is to open a ZoneEdit account <www.zoneedit.com>, and setup your domain names there - you can use up to 5 domains with no charge.

(There's lots of plain-english info on ZE, make sure you understand it if you're not familiar with DNS)

Once you've set things up, the control page will tell you the addresses of the ZE nameservers you are using. You then ask godaddy to change the registered nameservers for your domains to the ZE ones. There's no reason they shouldn't do this, and they remain the registrar for your domains.

It takes a few hours for the change to ripple through the net, but in a while you'll find that your domains are being resolved by ZE, and pointing at your SME server (if you've done it properly!).

ldavies

ip address showing in url
« Reply #6 on: May 25, 2004, 05:30:13 PM »
Thanks for the help.  I even managed to figure out what I was doign wrong before I read your latest post.

I have:
1)set up an account at www.zoneedit.com and they have given me 2 name servers for each domain
2)I have put those name servers into my godaddy account
3) turned off port forwarding at godaddy

Seems silly that godaddy does not allow you to use some of their nameservers to do this - it'd make life much easier and simpler.

Now I am just waiting for the name server changes to take effect...... I'll post results.