Hi,
I just started working on a new DNN based website and today I downloaded the latest DNN version, installed it on a staging server and started configuring it.
The first thing I did was to add a new language (ro-RO) from http://localhost/site/Admin/Languages.aspx. Piece of cake.
Since the machine I installed the site on is not used for developement, I wanted to access the site from my own computer (in the same network) and, knowing about the "Auto add site alias" feature, I just went ahead and accessed the site with http://servername/site/Home.aspx . Nothing unusual here.
But then, when I tried changing the laguage to ro-RO by clicking the corresponding flag icon, I got redirected to http://localhost/site/ro-RO/Home.aspx .
Of course, I logged on the staging server again to check the portal aliases and found the next list of aliases:
- localhost/site
- localhost/site/en-us with the Language field set to "en-US"
- localhost/site/ro-ro with the Language field set to "ro-RO"
- servername/site
Then I thought "Ok, I just need to manually add two other aliases." and ended up with the next list of aliases:
- localhost/site
- localhost/site/en-us with the Language field set to "en-US"
- localhost/site/ro-ro with the Language field set to "ro-RO"
- servername/site
- servername/site/en-us with the Language field set to "en-US"
- servername/site/ro-ro with the Language field set to "ro-RO"
This did not change anything. When accessing the site from another machine through http://servername/site/... every link is set to http://localhost/site/...
What can I do to fix this?
Thank you,
Leif