eric Posts:3

| | 03/01/2007 4:23 PM |
| DNN Newbie here... I have a new install of 4.4.1 and am having a hell of a time with the IIS setup and Portal Aliases. I have set up hundreds of sites on all kinds of servers over the last 6 years but this is probably the most frustrating, here's the situation.
Under "Portal Aliases", my non-editable, top-level alias is "localhost\MySiteName", and after tinkering for a while I have it running on the production box, but that's it because it keeps redirecting to the localhost for anyone outside... obviously this does not work and I can't even tell why it would do this at all anyway. Isn't bringing up the default doc good enough? I digress...
I found the database entry for the Portal Alias and tried to edit it there to see if I could make it work, but even if I give the server's IP address or IP address and the 'MySiteFolder' directory it will not work. Anything other than DNN works on the server fine by surfing to the IP, not a problem, I can upload any .NET, classic or .htm files and they run without a problem.
My 2 questions are 1) How do I fix this debacle? 2)What is the purpose of this 'portal' setup, how can i best understand 'Portal Aliases' for DNN, and what is it intended for and would it make sense to remove it for all the people who do not create 'portals', whatever that really means?
Thanks for you time. This site was recommended by another DNN friend... I have received no responses from the main DNN site.
Eric | | | |
|
|
|
John Mitchell Posts:3084


| | 03/01/2007 5:15 PM |
| Hi Eric, Yes PortalAlias is a thorn in the side of a lot of people just starting with DNN.
If it is in a continuous redirect, it may just be that the site has not been restarted. If you made a change to the Database directly then you need to restart the application since those settings are cached.
If that doesn't work, then you need to check closely that the alias matches what is being used on the url without the http:// part.
Let me know if that doesn't work and we can go from there. | | | |
|
eric Posts:3

| | 03/02/2007 11:20 AM |
| Holy cow, right on bro. That was definitely the problem. Even though I had updated the database PortalAlias setting I had not restarted the application (didn't know it was cached)... restarted the site in IIS and it's up.
I'm very happy to have solved this so easily, although I suspected as much since this is a heavily settings-based environment.
Thanks for the post and I'll definitely be back, hopefully with more meaningful questions.
(sorry for the late response, I didn't get back to this project until 15 minutes ago... )
Cheers,
Eric
| | | |
|
hobbit125 Posts:3

| | 03/16/2007 8:41 AM |
| | I'm having this same problem, and have not been able to resolve it by restarting the webserver. In firefox it keeps giving the "redirecting" thing. | | | |
|
eric Posts:3

| | 03/16/2007 10:01 AM |
| so, you're getting the "firefox detects an incorrect redirect..." or some such thing? What is in your PortalAlias setting?
eric | | | |
|
hobbit125 Posts:3

| | 03/16/2007 1:11 PM |
| | I'm getting it. After looking further, I think it's something with having a custom separate login page? I'm not sure how to fix it though. And yes, it's the firefox redirect error. PortAlias is set to the correct Domain and I haven't changed it (same as it was before.) Site is dealer.dolbey.com | | | |
|
John Mitchell Posts:3084


| |
hobbit125 Posts:3

| | 03/16/2007 1:41 PM |
| it's resolving fine for me...and has been working just fine
i think that the site got set to use a custom login page and the login page doesn't have proper permissions or smth...? | | | |
|
John Mitchell Posts:3084


| |
Tigris Posts:25

| | 04/12/2007 11:19 AM |
| I would like to run DNN on my server under wwwroot folder, which would be the DefaultWebsite under IIS.
So the file structure would be C:\INETPUB\wwwroot\Default.aspx
What do I have to do with portal alias in order to get this to server up without having to create a virtual directory?
As it is now, the only way I have succeeded is to create a virtual directory that points back to the wwwroot folder, which is ummm, confusing.
Any help would be appreciated
Frank
| | | |
|
John Mitchell Posts:3084


| | 04/12/2007 11:59 AM |
| Hi Frank, If it is already running and you need to add a new Portal Alias you can use your machine name, or just "localhost".
If you want, you could also make up your own host and domain name like dnn.mymachine.com. To do that you will just need to open the HOSTS file on your machine located at \system32\drivers\etc\HOSTS, and put in your new host.domain with it pointing to 127.0.0.1 like the localhost one does. | | | |
|