473,406 Members | 2,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Website switching to localhost

IIS6 on Windows Server 2003

I have a DotNetNuke website which works fine as long as I am openning the
webpage on the web server, but when I try to open the same website from any
client the webpage gets redirected

from:
http://reports01/Reports/Default.aspx
to
http://localhost/Reports

same thing happens on the webserver but since it is the localhost it works.
I think the problem is a setting someplace, but I can't find it - it works
fine on my development workstation and anyother websites on this webserver
work just fine.
Thank You
Peter
Oct 2 '08 #1
5 1605
Peter was thinking very hard :
IIS6 on Windows Server 2003

I have a DotNetNuke website which works fine as long as I am openning the
webpage on the web server, but when I try to open the same website from any
client the webpage gets redirected

from:
http://reports01/Reports/Default.aspx
to
http://localhost/Reports

same thing happens on the webserver but since it is the localhost it works. I
think the problem is a setting someplace, but I can't find it - it works fine
on my development workstation and anyother websites on this webserver work
just fine.
Thank You
Peter
At what point does the redirect happen? Is there some code at that
point that uses a hardcoded "localhost" servername?
Otherwise search through all the files for "localhost" and see what you
find...
Hans Kesting
Oct 2 '08 #2
You don't have an entry for reports01 in the DNS routing table. You can do
this by command line or in the HOSTS file, I would suspect. But that means
on each client machine.

One option is to set up a domain name and put in an actual DNS entry.
Something like reports.mycompany.com. It can be internal, if these are only
internal clients, and served from an internal DNS server (no confusion in
the ether). You then just reconfigure the clients (probably a config
change?).

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"Peter" <cz****@nospam.nospamwrote in message
news:OH**************@TK2MSFTNGP06.phx.gbl...
IIS6 on Windows Server 2003

I have a DotNetNuke website which works fine as long as I am openning the
webpage on the web server, but when I try to open the same website from
any client the webpage gets redirected

from:
http://reports01/Reports/Default.aspx
to
http://localhost/Reports

same thing happens on the webserver but since it is the localhost it
works. I think the problem is a setting someplace, but I can't find it -
it works fine on my development workstation and anyother websites on this
webserver work just fine.
Thank You
Peter
Oct 2 '08 #3

"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:e9**************@TK2MSFTNGP06.phx.gbl...
You don't have an entry for reports01 in the DNS routing table. You can do
this by command line or in the HOSTS file, I would suspect. But that means
on each client machine.

One option is to set up a domain name and put in an actual DNS entry.
Something like reports.mycompany.com. It can be internal, if these are
only internal clients, and served from an internal DNS server (no
confusion in the ether). You then just reconfigure the clients (probably a
config change?).

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"Peter" <cz****@nospam.nospamwrote in message
news:OH**************@TK2MSFTNGP06.phx.gbl...
>IIS6 on Windows Server 2003

I have a DotNetNuke website which works fine as long as I am openning the
webpage on the web server, but when I try to open the same website from
any client the webpage gets redirected

from:
http://reports01/Reports/Default.aspx
to
http://localhost/Reports

same thing happens on the webserver but since it is the localhost it
works. I think the problem is a setting someplace, but I can't find it -
it works fine on my development workstation and anyother websites on this
webserver work just fine.
Thank You
Peter
But I do not understand what could be causing this, other websites (None
DotNetNuke) are working just fine.

(yes this is intranet only)

Oct 2 '08 #4

"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:e9**************@TK2MSFTNGP06.phx.gbl...
You don't have an entry for reports01 in the DNS routing table. You can do
this by command line or in the HOSTS file, I would suspect. But that means
on each client machine.

One option is to set up a domain name and put in an actual DNS entry.
Something like reports.mycompany.com. It can be internal, if these are
only internal clients, and served from an internal DNS server (no
confusion in the ether). You then just reconfigure the clients (probably a
config change?).

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"Peter" <cz****@nospam.nospamwrote in message
news:OH**************@TK2MSFTNGP06.phx.gbl...
>IIS6 on Windows Server 2003

I have a DotNetNuke website which works fine as long as I am openning the
webpage on the web server, but when I try to open the same website from
any client the webpage gets redirected

from:
http://reports01/Reports/Default.aspx
to
http://localhost/Reports

same thing happens on the webserver but since it is the localhost it
works. I think the problem is a setting someplace, but I can't find it -
it works fine on my development workstation and anyother websites on this
webserver work just fine.
Thank You
Peter
I changed the HOSTS file and it did not make any difference, so I still
think it setup someplace on the website, but I don't know where or what
Oct 2 '08 #5

"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:e9**************@TK2MSFTNGP06.phx.gbl...
You don't have an entry for reports01 in the DNS routing table. You can do
this by command line or in the HOSTS file, I would suspect. But that means
on each client machine.

One option is to set up a domain name and put in an actual DNS entry.
Something like reports.mycompany.com. It can be internal, if these are
only internal clients, and served from an internal DNS server (no
confusion in the ether). You then just reconfigure the clients (probably a
config change?).

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"Peter" <cz****@nospam.nospamwrote in message
news:OH**************@TK2MSFTNGP06.phx.gbl...
>IIS6 on Windows Server 2003

I have a DotNetNuke website which works fine as long as I am openning the
webpage on the web server, but when I try to open the same website from
any client the webpage gets redirected

from:
http://reports01/Reports/Default.aspx
to
http://localhost/Reports

same thing happens on the webserver but since it is the localhost it
works. I think the problem is a setting someplace, but I can't find it -
it works fine on my development workstation and anyother websites on this
webserver work just fine.
Thank You
Peter
The problem was with DotNetNuke I had to add a portal allias
Oct 2 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dmitry | last post by:
Hi folks! I need to find a way to switch to a different Unix user from within the Perl script that is currently ran unattended. Script must switch user in order to execute proper profile for...
3
by: Dennis Wheeler | last post by:
I'm trying to find a commandline solution for switching projects. Currently I have to modify the IIS virtual directory path to the source files, and then open the solution file in .Net to be...
5
by: jd | last post by:
I am trying to setup a site using the Personal Website Starter Kit available in VS2005, I can debug my site just fine in Visual Studio. I am also running IIS and am able to connect to my new...
5
by: NoNickname | last post by:
Basically, how do I know that the release versions of all components are being published? The Build | Configuration Manager is confusing me a little in VS2005. I have three projects in my...
6
by: Steve Mauldin | last post by:
I have three websites that were developed by using the same code in .net. They are all located under wwwroot on my desktop running windows 2000 pro.because Windows 2000 pro only supports a single...
13
by: coosa | last post by:
Dear all, When i create a website using Visual Studio 2005 i have an option to choose based on the local file system or the http:// address; For the local file system, when i later run my web...
1
by: kurt sune | last post by:
I am having trouble publishing a website for RELEASE. 1. web.config: <compilation defaultLanguage="vb" debug="false"> 2. in Configuration manager I set the configuration to Release for the...
10
by: TS | last post by:
i just noticed the website i created in VS 2005 is running on a different port than the default. I see that it is running on the local web server, and also that the website i created isn't in IIS....
11
by: AAaron123 | last post by:
I have an vs2008 app that generates a website. I have a vs2008 app that uses the webbrowser and does this: WebBrowser1.Navigate(New Uri(address)) the address is: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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...

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.