sharad
 Nuke Active Member Posts:31

 |
| 09/10/2009 7:23 AM |
|
Hi,
Actually I have some problems in my dotnet nuke website subdomains. It is giving error 405: Page Not found.
I have also created virtual directories for the subdomains but it is giving the same error. Please reply as soon as possible.
Regards, Bhawana Nayyar |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
| 09/10/2009 7:39 PM |
|
Have you created DNS entries for those subdomains? Have you created appropriate entries in the Portal Alias table? |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
iqworks
 Nuke Pro Posts:66

 |
| 10/20/2009 5:23 PM |
|
I am having the same problem on godaddy. I have a portal that works fine in local/ (a Parent by the way) on my dev box in 5.1.4, but on godaddy, the www..com/ does not show. All I keep getting is page not found. I added a DNS entry (virtual directory - if I am getting this right ?) and still no go. I am stumped, there is no entry in the event log, so its almost like the server cant recognize the url before it even gets to dnn. I thought you didnt have to set up a DNS because of the subhost.aspx, guess I am confused here ? And where in the database can you find out if you specified Parent or Child ? Or was that just the way it sets up the directory structure under the Portals directory ?
thanks for your time Information Quality Works. |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
| 10/20/2009 8:42 PM |
|
Do you have appropriate entries in the portalalias table?
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
iqworks
 Nuke Pro Posts:66

 |
| 10/21/2009 9:11 AM |
|
Thanks for your reply Joe, I believe so .... I named my dnn folder "mydnn". My child portal is "tportal" for test portal. On my development box where the child portal works, the mydnn is the root directory. On dev, I reached mydnn with " http://localhost/mydnn". I created a virtual directory pointing to mydnn. I reached tportal with " http://localhost/tportal". On godaddy, the mydnn is a subdirectory. tportal has the portal-ID directory is under mydnn/Portals. I created 2 virtual directories under mydnn to test .... 1 - with set application root. 2 - without application root. On my dev box, not quite sure what "set application root" on godaddy implies other than the creation of a folder under mydnn for set application root. my aliases are .... "www.domainname.com/tportal" "domainname.com/tportal" "www.domainname.com/mydnn/tportal" Joe, that is my current setup. So, when I enter ... " http://www.domainname.com/tportal" or " http://www.domainname.com/mydnn/tportal" I get page not found. Just to make sure I am on the same page as you ... 1) On godaddy, should I be creating the virtual directory without the "set application root" ? 2) Is there anything in my web.config that plays into any of this ? 3) Is there any DNS needed for child portals or is subhost.aspx suppose to do something ? Didnt seem to need it in my dev environment. 4) I tried to debug subhost.aspx in my dev environment and didnt reach any breakpoints there, so does 5.1.4 even use subhost.aspx ? Thanks again |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
| 10/21/2009 9:21 AM |
|
There is a table in your dotnetnuke database named portalalias. You need to look at it -- use SQL Server Management Studio Express or another tool -- to see what it contains. It needs to contain entries that point to your portals. It is used by dotnetnuke to route request to the correct portal. If it is mis-configured, it could cause the problems you describe.
Did you also try the tricks I suggested with index.html and app_offline.htm?
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Joseph Craig DNN MVP Posts:11667

 |
| 10/21/2009 9:21 AM |
|
The suggestions regarding index.html and app_offline.htm are in another thread. Look for them.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
iqworks
 Nuke Pro Posts:66

 |
| 10/21/2009 7:16 PM |
|
Joe, I was interupted today, but I am back at this - this issue is a priority. Sorry joe, I didnt see anything regarding in tricks for index.html and app_offline.htm on THIS thread - but now I see you say they are on another thread. But sounds like something I need to look at right now, if it has to do with seeing "what does not like what" ? As for the portalalias file entries. Interestingly enough, the record for the portal I am trying to run is there, what looks odd is that it has .... PortalID - Is correct. The HTTPAliases are what I entered " www.domainnam.com/child" CreatedByUserID - NULL CreatedOnDate - NULL LastModifiedByUserID - NULL LastModifiedOnDate - NULL But, this is how the record is in my dev environment where the child portal works. I since went in and manually updated the NULL fields, but the child portal still does not come up. I will look for your index.html and app_offline.htm threads. I think at this point I need to find a way to debug or to be able to see "what does not like what". Is it the server not liking the alias ? Or, is it dnn ? Seems to me that if it where dnn, something might show in th eventlogs provided I enlist the correct eventLog type(s). I am hoping your index and app_offline give me a lead - I am looking for them now. Thanks for your suggestions joe. |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
| 10/22/2009 6:05 AM |
|
If you didn't find them, the suggestions were:
Add an index.htm file to the site's main directory. That should be served when you browse to the site. If not, this is an IIS configuration issue.
If this works, rename index.htm to app_offline.htm. If this is served, it tells you that ASP.NET is working.
Then, if removing the file results in an error, you know that the problem is with DotNetNuke's configuration.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
iqworks
 Nuke Pro Posts:66

 |
| 10/22/2009 6:34 AM |
|
Yes, I did see that last night. I tried working with both the index and app_Offline files, problem is, I dont think that is my problem. But I can see where that testing method could be REAL valuable so I will put that in my bag of tricks for later. I can get into my DNN login and work with the DNN menus, edit stuff, work with the portal aliases etc. My main portal is comming up just fine, so I dont think I need to look at the root and if thats working or not.
I am trying to find out why my CHILD PORTAL is not comming up and I see that it dosnt seem to even be getting as far as my portalalias table. It looks like godaddy is having a problem with the URL I am putting in to access my child portal. I am suspecting that because the "page not found" page is not the standard one for IE, it is the friendly one from godaddy I believe. This is why i am trying to find a way to debug the URL from the time I hit enter (dont know if thats possible).
I was hoping that the index and app_Offline tricks could help me there. I put them into the portal/portalID folder but I get that friendly URLstill.
Right now I am refreshing my dnn database from my local copy just to be sure there wasnt any corruption on my migration. But I dont know why - I REALLY THINK THE CODE IS NOT EVEN GETTING TO MY PORTALALIAS TABLE when I key in my child portal URL, and my site (main portal 0) is comming up just fine !!
I have an email that comes with the notification, I could send you an email with a screen shot or 2, and the actual URL I am speaking of so you can SEE what I am saying? I know you guys are busy.
|
|
|
|
|
iqworks
 Nuke Pro Posts:66

 |
| 10/22/2009 4:15 PM |
|
My apolgies Joe, I just tried your test again .... In my main directory (my dnn is a subdirectory - wont do that again) both index and app_offline worked fine with "www.domain.com". And, in my DNN directory, I was not suppose to test with my portal alias, I was just suppose to test with my main DNN URL. This time .... I renamed my Default.aspx in my DNN directory. I put index.htm in, it was served fine. I then replaced it with app_Offline.htm and got page not found.
So, It looks like I need to check my dotnetnuke configuration ? Or is that app_Offline just suppose to work in the domain directory only and not the subdirectory ?
thanks for that |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
| 10/22/2009 6:29 PM |
|
app_offline.htm should be served if placed in the same directory as Default.aspx. You need not rename that file.
If index.htm is served and app_offline.htm is not served, that indicates a problem with either ASP.NET or with the DotNetNuke installation. There could be a problem with web.config.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
iqworks
 Nuke Pro Posts:66

 |
| 10/22/2009 8:19 PM |
|
Thanks for your replies and suggestions Joe,
i see, app_offline is a page you use when you deliberatly want to take your site offline, like for updates. index.htm is in the default documents along with default.aspx. default.aspx is ahead of index.htm so it is the document that is selected first.
After testing again .. index.htm and default.aspx in my dnn subdirectory results in default.aspx being displayed. app_offline, default.aspx and index.htm in dnn subdirectory results in app_offline being displayed. I think I am ok there ?
-----------------------------
I read I should have a copy of default.aspx in my child portal directory when I create one ? On my dev box, I create a child portal and I dont see a default.aspx in my child directory - BUT - the child portal comes up when i key in localhost/childportal.
However, on my shared hosting when I try to create a child portal I get this .....
Error configuring Child PortalAccess to the path 'd:\hosting\iqworkson\iqDNN\mtest' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) at DotNetNuke.Entities.Portals.PortalController.CreatePortal(String PortalName, UserInfo objAdminUser, String Description, String KeyWords, String TemplatePath, String TemplateFile, String HomeDirectory, String PortalAlias, String ServerPath, String ChildPath, Boolean IsChildPortal)
think this looks familiar to you .... I found a link that you responded to about this ... <http://www.dnncreative.com/Forum/ta...fault.aspx > "For the message about the portal, the error message seems to indicate that you may have permission problems in the portal's web directory. It looks like DotNetNuke cannot create C:\Inetpub\vhosts\scoutday.com\httpdocs\Portals\5\." I also read a post that said ... http://local.dotnetnuke.com/Communi...fault.aspx if there is no default.aspx inside, most likely there are file system permissions missing for ASP.Net account ("Network Service" by default).
I think I am having permission problems -
|
|
|
|
|
Lee Sykes DNN Creative Staff
 Nuke Master VI Posts:4945

 |
|
iqworks
 Nuke Pro Posts:66

 |
| 10/23/2009 8:48 AM |
|
Success !!
I see my mistake now, I was looking for the child portal default.aspx in the portal/childPortaliD directory - WHAT WAS I THINKING ? The default.aspx page is in a sub directory off of your dnn directory root, NOT in the child portal dir, or even just the portal dir. And, the name of the subdirectory that holds the default.aspx is the actual name of the portal itself !!
I also had to remember that since my dnn folder is a subfolder, when I create a child portal, the alias needs to be like this .. www.domain/mydnn/childportal But now I can create a child portal, see the default.aspx in the folder named "your child portal name", and, I can access the child portal.
I needed to change my root folder permissions on godaddy , so, for others going through this, I will post here what I wrote to include in my documentation about this. FrontPage extensions was the issue.
10/23/2009 (IQworks - Information Quality Works) Setting Godaddy Permissions with Frontpage Extensions.
I keep frontpage extensions installed so that I can access my domain with VS2008. But the DNN folder itself needs read/write permissions and so do all of its subfolders. In my case, my DNN is a subdirectory on my shared hosting domain. The point here is to change the root directory (NOT your dnn root, your domain root) permissions to read/write and, to have those permissions inherited by all of the folders in your domain. (You can deny permissions on your sensitive folders later) Strange, and it could be me, but I could not access the root to make this change with frontpage extensions installed, and then, I uninstalled frontpage extensions, made the permission changes to the root and reinstalled frontpage extensions, and, I COULD access the root - oh well, here is how I got to the root anyway.
I closed VS2008 I closed FileZilla (and anything else that is connecting to your shared hosting domain - my paranoia) Uninstall frontpage extensions (be sure it is uninstalled). If you had permissions setup for the domain root before, uninstalling frontpage extensions will undo these permissions. a - In godaddy, get to the File Manager. b - Click on my domains root folder (not my dnn root folder). c - When the check box comes up for the domain root, select it. (This is what you cannot do while frontpage extensions are installed - well, somtimes) d - Click on the permissions icon. e - Select Read, Write and reset all children to inherit and click OK (notice the last columns title is permissions). f - Wait until permissions are applied (little progress spinny is done) ..... and then I clicked on my dnn folder (I backed out of File Manager and then went back in to make sure I got a fresh File Manager page). In the very last column I could see read/write icons (They are grayed out but you should see the two icons) Select your dnn folder, check one of the folders (I selected portals) in the dnn folder and click the permissions icon, you should see inherit permissions from parent and read/write checked. g - Rebuild your website (optional). h - reinstall frontpage extensions (make sure they are installed). i - double check the root and dnn folder permissions to make sure frontpage extensions didnt do anything to them (my paranoia) Check mark the dnn folder, click on the permissions icon (up top). j - If the permissions are read/write and inherit permissions from parent (all will be greyed out) are checked, your good to go. (Notice that, with frontpage installed, the last column says File Type now instead of Permissions ) k- Rebuild your website (optional) l - Load VS2008.
thanks Joe and Lee for your suggestions and help -
|
|
|
|
|
Rishad Ahamed
 Nuke Newbie Posts:7

 |
| 09/03/2012 12:28 PM |
|
Hi. I have an issue with subdomain in godaddy. i was aked to create a subdomain in a domain and inside the subdomain folder i need to install my fresh DNN portal. So I create the subdomain by 1.Log in to your Account Manager. 2.Click Web Hosting. 3.Next to the hosting account you want to use, click Launch. 4.In the Settings section of the Hosting Control Center, click the Hosted Domains . 5.From the All Domains panel, click the domain to which the subdomain(s) will be added. 6.Click Add Domain. 7.Enter a single subdomain or multiple subdomains separated by a comma. 8.Select whether the subdomain content will reside in a folder of the same name or a new or existing folder. 9.Click Ok. then after 3 days inside the subdomain folder i installed the DNN portal by...... godaddy Host Connection. where i installed dnn in the subfolder. the portal directory is available now in my domain FTP . there is another subdomain(XXX) also exist in the domain and it is alive. whn i go to my subdomain to set up/configure my DNN i counldnt open my dnn portal. if i give the url as www.mysubdomain.Maindomain.com it load other subdomain site(XXX) not the dnn portal...... how can i set this and i need to go to my subdomain to configure my DNN and do the developement...... Any one can help me please!!!!!!!!!!!!!!! |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
| 09/03/2012 7:54 PM |
|
Rishad, I would recommend that you also place a call to GoDaddy's tech support number. Hopefully they can help you with this. Unfortunately I do not have a lot of experience setting up websites with GoDaddy. As for the problem, if subdomain is being redirected to another website, then you will want to make sure that DNS, and the websites are configured correctly. Presumably you should do this via the control panel that they provide. Go back and check that all of these are set up correctly -- thought understanding what "correctly" means may be a bit of work. From the outside, you can determine that DNS is set up correctly if you use dig or nslookup and they return the correct IP address for the domain and each of the subdomains. I use the kloth.net site to do this fairly often. If it is also possible to turn off the other subdomain (at least for a short time for testing) can you then see the new subdomain site? You might want to set up a simple site with a single index.html page to verify that the website and addressing are correct. That will eliminate questions about asp.net and DotNetNuke. When that is working correctly, reinstall DotNetNuke and see that the issues are. Please keep us informed ... |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|