cannot open http://localhost/CS/Default.aspx

rated by 0 users
Not Answered This post has 0 verified answers | 2 Replies | 3 Followers

Not Ranked
1 Posts
Points 35
gtan posted on Wed, May 21 2008 8:51 PM

Hello, folks

I am new to Cummunity Server. Recently I need to move our web site to a new machine. Everything works fine on the old server with a public full domain name.

But when I xcopied everything (web files and database) to the new server, and test it locally. I cannot open it at all,

Even I typed http://localhost or http://newservername/CS/Default.aspx, it seems the browser always tries to open http://www.localhost/CS/Default.aspx , not http://localhost/CS/Default.aspx

any idea?  thanks a lot in advance

All Replies

Top 500 Contributor
48 Posts
Points 745

There are two files that need edits when you change environments --- the internal web project and the connectionstrings.config file. For the project --- at the very bottom of the page, maybe 3 lines from hte end, there is a line that declares where your site is to be launched from; right now it probbaly says http://www.localhost/cs/default.aspx.  DId you change you connectionstrings.config file? Make sure it points to the database you're trying to access.

  • | Post Points: 5
Top 500 Contributor
47 Posts
Points 670

Also, look in your communityserver.cofig file and do a search for wwwStatus. If this was at one time a live site, this was probabaly set to Require because folks wanted the "www" to always show up. You can set it to ignore and see if this helps.

<Core
....
....
wwwStatus = "Ignore"

...
>

thwack.com - SolarWinds

  • | Post Points: 5
Page 1 of 1 (3 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com