473,624 Members | 2,439 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2162
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********@thr eewill.comwrote in message
news:er******** ******@TK2MSFTN GP03.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********@thr eewill.comwrote in message
news:er******** ******@TK2MSFTN GP03.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********@thr eewill.comwrote in message
news:OA******** ******@TK2MSFTN GP05.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********@thr eewill.comwrote in message
news:er******* *******@TK2MSFT NGP03.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********@thr eewill.comwrote in message
news:er******** ******@TK2MSFTN GP03.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_**********@h otmail.comwrote in message
news:p%******** ***********@new ssvr25.news.pro digy.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********@thr eewill.comwrote in message
news:er******** ******@TK2MSFTN GP03.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.comwrot e in message
news:u1******** ******@TK2MSFTN GP04.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_**********@h otmail.comwrote in message
news:p%******** ***********@new ssvr25.news.pro digy.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********@thr eewill.comwrote in message
news:er******* *******@TK2MSFT NGP03.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********@thr eewill.comwrote in message
news:er******** ******@TK2MSFTN GP03.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********@thr eewill.comwrote in message
news:er***** *********@TK2MS FTNGP03.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
3308
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 adodbapi >>> conn= adodbapi.connect( connStr ) >>> crsr = conn.cursor() >>> sql = "select * from wjtmp" >>> crsr.execute(sql)
0
1353
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 LD_LIBRARY_PATH=:/usr/lib:/usr/local/lib:/opt/sfw/lib:/usr/sfw/lib:/usr/local/lib/python2.3/site-packages/roundup:/usr/lib/lwp:/usr/local/lib/python2.3:/usr/local/lib/python2.3/site-packages/roundup/scripts LOGNAME=root ORACLE_HOME=/oracle/ ORACLE_SID=/oracle/...
7
3593
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> </head> <style type="text/css">
4
1902
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 post. Basically, this will work correctly if I remove all non-form related tags from the form =eg span, div, but I want to format the form all pretty like so??? Right now, it only collects 2 parts of the form fields =sites &
0
8240
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8680
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8625
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8336
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8482
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4082
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2610
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1487
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.