Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS and domain names...

Status
Not open for further replies.

johan

MIS
Mar 22, 2000
3
US
Hi!

I'm using IIS 5 for the first time and I have registered a domain name for my site. It all works just fine, but there is one problem I can't get rid of. When I move the mouse pointer across a link on my website, it shows the IP address instead of my real domain name in the statusbar. This is a problem because some webbrowsers does not accept cookies from such addresses.

Any suggestions is deeply appreciated!!
 
I don't see how a browser not accepting cookies has anything to do with this. The link is supposed to show what u want it to show.. i.e. if u put:

<a href=&quot;
it's supposed to show: @ the status bar.

However.. maybe I'm not understanding ur question correctly.. please let me know if I'm wrong and I'll do my best to help.

Good Luck.

T [afro][gorgeous][afro2]
 
OK..let us skip the browser and cookie thing ;)

Let's say that a want to create a link to a page that lies under the same directory as the index.html file ( Then I don't have to state the whole address to that page, I just type <a href=&quot;newpage.html>.

Usually when I then move the mouse cursor over that link, I se this in the statusbar &quot;
But my server shows this: &quot;
I wonder if there is some changes I must make in my IIS to make the links show up properly. I don't want to show the IP address to my server all the time. Maybe the homepage must be given a name in IIS or something??
 
What is your domain name? Sorry to break it to you, but if you intend on making you domain public, then we can find out your IP regardless.

I would just like to see if it's your local machine, or if it's happening everywhere.
 
Hi SanfordRowe!

I know..it's not hard to find out the IP of a domain name, but I still want to get a grip of this issue. At least it looks better to have the domain name in the statusbar then a bunch of numbers. :)

my domain:
/thnx J
 
Yes, the IP shows in my browser, too.
It also is in your HTML source, so it isn't IIS.

What are you using for an HTML editor?
 
Yeah I just went and took a look @ ur source code and it's definitly ur coding. Going back to what I said:

&quot;The link is supposed to show what u want it to show.. i.e. if u put:

<a href=&quot;
it's supposed to show: @ the status bar.&quot;

In ur case u're &quot;TELLING&quot; it to show ur ip by putting ur ip in the &quot;a href&quot; tag.. so in ur case simply change all ur links with ur ip to ur domain and u'll be fine. This had nothing to do with IIS.

T [afro][gorgeous][afro2]
 
Hi again!

I do not put my IP address in the <a href> tag. I only put the name of the html file in the tag <a href=&quot;mylink.html&quot;> and the IP address is automatically added instead of the domain name. I figure, this might be a problem for my domain name provider to solve?

/Johan
 
Ok.. try this.. go into IIS.. then right click on ur website... choose properties.. then under the website tab click advance.. under the first sub window click add.. then add ur domain there in host headers..

If u're wondering if u can host multiple domain names with IP using host headers then the answer is &quot;yes&quot;.. u can.. u can host more than 2.. i'm not sure about the limit but with host headers u can save urself some cash and use one IP for multiple domain names.

Good Luck. :)

T [afro][gorgeous][afro2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top