This project is read-only.

Website URL falling in sub folder

Topics: Developer Forum
Mar 15, 2012 at 1:23 AM
Edited Mar 16, 2012 at 1:47 AM

Hi, I have just deployed N2CMS in my personal website. I have a sub folder called "" under my primary host account (can host multiple sites). I delegate the domain name to that sub folder.

After installation, it looks like the website URL recognise the sub folder "" as the root.

e.g. My website is 

But the website is accessible via only. 

For the N2 backend. The server can interpret both URLs below

I try to using rebase tool, it only recoganise the sub folder, not the root folder.

What I want to achieve is that my website is accessible via the root folder ( not the sub folder (

Could someone throw some lights on this issue? Thank you!

Mar 15, 2012 at 1:24 AM

I use the web form version.

Mar 16, 2012 at 12:21 AM

I'm not familiar with domain name delegation. Is the host just mapped to that folder?

Is the problem that the site doesn't rebase links when you change from the virtual dir to /?

Mar 16, 2012 at 12:40 AM
Edited Mar 16, 2012 at 1:46 AM

Thanks for the reply. When I run the rebase, it says that I don't need to rebase. It detects the site is "/" rather than "/".

Is there a way for me to override the root path? Instead of auto detect, can I code a static value in, or add a "../" in front?

Mar 16, 2012 at 6:37 AM

It looks like the hosting issue (GoDaddy Unlimited hosting package) when put multiple websites under virtual directories under the same primary account . But I just wonder if I can do something in N2CMS to fix it. So far there is no solution from GoDaddy yet.

Mar 17, 2012 at 9:44 PM

@rgao906  I had the exact same problem with GoDaddy.  They basically came back to me and said they wouldn't be doing anything to fix it.  I ended up getting some hosting with Arvixe, which I found purely by accident.  I created the website, uploaded the deployed project from VS2010 via ftp, browsed to the new site, and N2 appeared without doing anything else whatsoever.

In this instance, I have to say GoDaddy were worse than useless.

Mar 19, 2012 at 10:00 AM

rgao: Could you share some more details privately? I'm interested to figure out if something can be changed to support this.

Jul 3, 2013 at 11:10 AM

I am facing the same issue, could you please help me if you had get a solution?

Thanks in advance