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
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.
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"
...>
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com