Support Forum

Next Page

Page: 1

Previous Page

Thread: Multiple Domain Issue

Created on: 10/26/09 02:23 PM

Replies: 4

dyakovich





Joined: 09/08/09

Posts: 3

Multiple Domain Issue
10/26/09 2:23 PM

I've successfully installed Mura on our production server. This box is running Windows 2003 Server, IIS6 and ColdFusion 8. I've setup a new site in Mura to use the following address:

http://naf.townofmanchester.org

I've configured the site in IIS to point to the directory under our Mura directory\NAF

The issue I'm having is if I go to http://naf.townofmanchester.org I get a 404 error. However, the site works if I go to the following address:

http://www.townofmanchester.org/cms/naf/

I am at a loss why naf.townofmanchester.org will not work. I've used this type of IIS setup 100's of times without issue. Mura doesn't seem to like it.

Any help is greatly appreciated.

Link | Top | Bottom

matt





Joined: 04/26/08

Posts: 2639

RE: Multiple Domain Issue
10/26/09 2:42 PM

In Mura all sites in an instance share the same web server root. So if you have 2 sites in one Mura instance the directory structure would look like this.

[mura root/web root]/
[mura root/web root]/admin
[mura root/web root]/site1
[mura root/web root]/site2
......

and have URLs like:
http://www.domain.com/site1/
http://www.domain.com/site1/index.cfm/path/to/content/
http://www.domain.com/site2/
http://www.domain.com/site2/index.cfm/path/to/content/

This allows multiple sites to be managed on the same domain. However, it's easy to change this. I posted a blog about it a while back:

http://www.getmura.com/mura/index.cfm/blog/removing-the-siteid-from-urls-in-mura/
* Last updated by: matt on 10/26/2009 @ 2:43 PM *

=================================
Matt Levine
Team Mura
Blue River Interactive Group

Link | Top | Bottom

dyakovich





Joined: 09/08/09

Posts: 3

RE: Multiple Domain Issue
10/26/09 2:51 PM

Matt,

Thanks for your help. I did forget to mention in my OP that I did follow this process and the results are still the same.

naf.townofmanchester.org which is setup to go to the directory Mura Install\NAF still results in a 404 error. Navigating to www.townofmanchester.org/cms/naf works.

I need to get naf.townofmanchester.org to return the same content that www.townofmanchester.org/cms/naf returns.

This is what is not working properly.
* Last updated by: dyakovich on 10/26/2009 @ 2:52 PM *

Link | Top | Bottom

matt





Joined: 04/26/08

Posts: 2639

RE: Multiple Domain Issue
10/26/09 3:13 PM

In your previous post you said:

"I've configured the site in IIS to point to the directory under our Mura directory\NAF"


I may be wrong but I'm assuming that the NAF directory is the folder created by Mura when you added the site to the Mura instance. You do not point IIS directly at that directory. All sites in a Mura instances should be configured in IIS to point to the Mura root and not the site directory.

The blog that I post above is how you can remove that directory from urls.

Even further, it looks like you installed Mura in a sub-directory named cms. It is very important to understand that ALL sites in a Mura instance share the same web root. So you can't have the default site be accessed by:

http://domain.com/cms/

and other site by:

http://domain2.com/

So what I recommend doing is creating cms.townofmanchester.org and pointing that at the http://domain.com/cms/ directory. When you do that you will need to remove /cms from your /config/settings.ini.cfm context and assetPath attributes and reload the application.

At that point all domains that are bound to that Mura instance whould share the same web root and the above blog entry would remove the siteID directory from the urls. That urls would look like this:

http:://cms.townofmanchester.org/admin/
http:://cms.townofmanchester.org/index.cfm/path/to/content/
http:://naf.townofmanchester.org/index.cfm/path/to/content/

* Last updated by: matt on 10/26/2009 @ 3:19 PM *

=================================
Matt Levine
Team Mura
Blue River Interactive Group

Link | Top | Bottom

dyakovich





Joined: 09/08/09

Posts: 3

RE: Multiple Domain Issue
10/26/09 3:20 PM

Matt, thanks for the response. I'll give that a try.

Everything worked! Thanks for your help!
* Last updated by: dyakovich on 10/26/2009 @ 4:11 PM *

Link | Top | Bottom

Next Page

Page: 1

Previous Page

New Post

Please login to post a response.