Can't hit the site by name but I can hit by IP

  • Thread starter Thread starter CK
  • Start date Start date
C

CK

Hi All,
I have a sharepoint site on a box. I can hit the box by going to the ip
address http://10.0.0.1/default.aspx but I can not hit it by name. The
password dialong box comes up and it rejects my domain password. Says you
are not authorized. When I use the IP the password dialong box comes up and
it accepts my credentials and lets me proceed to the site. What am I missing
here? Any help is greatly appreciated.

TIA,
~CK
 
This looks like a name resolution issue. When going to the machine name
are you going to the same IP address.

ping by name make sure IP address is correct.
 
Yes from a command prompt pinging the IP and Pinging the machine name both
go to the same computer. Both cases respond to the ping as well.
 
is their more than one site hosted on this computer?

Also what names are listed in the alternate access mappings?
 
There is default website and Sharepoint Admin website.

Where do I set the alternate access mappings. I am not familiar with that.

Thanks Jerry for your help.

~CK
 
Is this 03 or 07? If it is 03, good rule of thumb is to add it to the Hosts
file. Also, check the Central Administration and check the Name of the Portal
that was created - often the mismatch (i.e. if it was created and named with
the IP address) is the problem - this is the same issue if using HTTPS vs.
HTTP - if the site is defined as HTTP://something then you turn on HTTPS, the
site is not always found.
 
Sounds like your TCP/IP stack is corrupt.

You may work around it by

1. putting an entry in your hosts file which points your domain name to the IP
( a hack workaround... )

2. Repairing your TCP/IP stack

If you're using Windows XP, or Windows 2003 Server, repairing the TCP/IP stack isn't complicated.

From a command window, run :

netsh int ip reset c:\log.txt

You can also run the commands in sequence :

cmd
netsh
int
ip
reset c:\log.txt

That will repair your TCP/IP stack.


Make sure that whatever log name you use and wherever it is on the disk,
that the file exists and you have SOMETHING there. That's important!

Read the log afterwads, so you can see the changes that were made.
It makes for interesting reading ( only for geeky guys... )

:-)





Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
 
I should have added a caveat, and it is that this procedure
will reset *all* your TCP/IP connection settings.

That means you will have to reconfigure your machine's IP, default gateway, dns servers, etc.
If you are not familiar with those settings...do NOT do this.

Have your network manager reset your TCP/IP stack for you.





Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
 
Hi Dave/Jerry,

I work w/ CK and I'm the one that setup the portal site that CK is referring
to. Here is a little bit more info:

I'm unable to access the portal site by requesting the portal by name in IE;
however, if I request the page by IP or by name in Firefox I can successfully
retrieve the page.

One other things that I noticed:

-- Whenever I grant permission to access the site, the Send Email portion of
the process lists the IP address of the site rather than the site name.

-- If i request the page by IP in IE and create a sub-site, the FullUrl in
the Sites table will come be written w/ the IP address rather than the portal
name. If the user access the IP created site as:
http://portalName/sites/<created> they're able to retrieve the page

-- I've added a user as a Reader. This user was able to access the site by
http://portalName/default.aspx. If they tried http://portalName, they are
denied access. I added another user to the Reader group and they were not
able to access the site w/ either address.

My setup is in a domain w/ SP 03 tied to SQL server 2005 (on another box).

Any tips or help would be greatly appreciated!

Thanks,


JM
 
I should have asked up front which version you were using. I've had
MOSS 2007 on my mind so much lately. I have not used SP03 in sometime I
think it would be best if I step out of this conversation at this point.
 
Back
Top