471,089 Members | 1,670 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,089 software developers and data experts.

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

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
Oct 19 '06 #1
9 2067
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.
CK wrote:
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

Oct 19 '06 #2
CK
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.
"Jerry Rasmussen" <jr********@threewill.comwrote in message
news:er**************@TK2MSFTNGP03.phx.gbl...
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.
CK wrote:
>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

Oct 19 '06 #3
is their more than one site hosted on this computer?

Also what names are listed in the alternate access mappings?

CK wrote:
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.
"Jerry Rasmussen" <jr********@threewill.comwrote in message
news:er**************@TK2MSFTNGP03.phx.gbl...
>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.
CK wrote:
>>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

Oct 19 '06 #4
CK
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

"Jerry Rasmussen" <jr********@threewill.comwrote in message
news:OA**************@TK2MSFTNGP05.phx.gbl...
is their more than one site hosted on this computer?

Also what names are listed in the alternate access mappings?

CK wrote:
>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.
"Jerry Rasmussen" <jr********@threewill.comwrote in message
news:er**************@TK2MSFTNGP03.phx.gbl...
>>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.
CK wrote:
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
Oct 19 '06 #5
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.

--
David M. Sterling
www.sterling-consulting.com
"Jerry Rasmussen" wrote:
is their more than one site hosted on this computer?

Also what names are listed in the alternate access mappings?

CK wrote:
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.
"Jerry Rasmussen" <jr********@threewill.comwrote in message
news:er**************@TK2MSFTNGP03.phx.gbl...
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.
CK wrote:
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
Oct 19 '06 #6
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/
===================================

"CK" <c_**********@hotmail.comwrote in message
news:p%*******************@newssvr25.news.prodigy. net...
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.
"Jerry Rasmussen" <jr********@threewill.comwrote in message
news:er**************@TK2MSFTNGP03.phx.gbl...
>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.
CK wrote:
>>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


Oct 19 '06 #7
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/
===================================
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:u1**************@TK2MSFTNGP04.phx.gbl...
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/
===================================

"CK" <c_**********@hotmail.comwrote in message
news:p%*******************@newssvr25.news.prodigy. net...
>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.

>"Jerry Rasmussen" <jr********@threewill.comwrote in message
news:er**************@TK2MSFTNGP03.phx.gbl...
>>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.
CK wrote:
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



Oct 19 '06 #8
JM
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/<createdthey'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

"David Sterling" wrote:
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.

--
David M. Sterling
www.sterling-consulting.com
"Jerry Rasmussen" wrote:
is their more than one site hosted on this computer?

Also what names are listed in the alternate access mappings?

CK wrote:
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.
>
>
"Jerry Rasmussen" <jr********@threewill.comwrote in message
news:er**************@TK2MSFTNGP03.phx.gbl...
>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.
>>
>>
>CK wrote:
>>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
>
>
Oct 19 '06 #9
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.
JM wrote:
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/<createdthey'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

"David Sterling" wrote:
>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.

--
David M. Sterling
www.sterling-consulting.com
"Jerry Rasmussen" wrote:
>>is their more than one site hosted on this computer?

Also what names are listed in the alternate access mappings?

CK wrote:
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.
"Jerry Rasmussen" <jr********@threewill.comwrote in message
news:er**************@TK2MSFTNGP03.phx.gbl...
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.
>
>
CK wrote:
>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
Oct 19 '06 #10

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by nightmarch | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.