472,951 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,951 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 2136
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: nightmarch | last post by:
I want use crsr.nextset() , But I got errors like following: >>> connStr = "Provider=MSDAORA.1;Password=jmpower;User ID=jmpower;Data Source=jmgis_agps3;Persist Security Info=True" >>> import...
0
by: ewitkop90 | last post by:
This is the box and the variables. ewitkop $ uname -a SunOS remnssdtoolsp01 5.9 Generic_118558-03 sun4u sparc SUNW,UltraAX-i2 ...
7
by: x muzuo | last post by:
Hi guys, I have got a prob of javascript form validation which just doesnt work with my ASP code. Can any one help me out please. Here is the code: {////<<head> <title>IIBO Submit Page</title>...
4
by: _Raven | last post by:
Okay, I am playing with submitting forms with Ajax. I am trying to adapt this script to my forms: http://www.captain.at/howto-ajax-form-post-get.php I have included my code at the bottom of this...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

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.