Website switching to localhost

  • Thread starter Thread starter Peter
  • Start date Start date
P

Peter

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
 
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
 
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! |
********************************************
 
Cowboy (Gregory A. Beamer) said:
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! |
********************************************

But I do not understand what could be causing this, other websites (None
DotNetNuke) are working just fine.

(yes this is intranet only)
 
Cowboy (Gregory A. Beamer) said:
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! |
********************************************

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
 
Cowboy (Gregory A. Beamer) said:
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! |
********************************************

The problem was with DotNetNuke I had to add a portal allias
 
Back
Top