The end result is that, as they browse throught the site, they retain their domain name in the Url. I belive that using the link helper class in MVC keeps everything relative anyway so that'll probably help.
So when they hit their 'news' page, I'd like them to see:
www.theirDomain.com/news
Or if someone finds their team using my service and visits their news page, I'd like
them to see:
www.myDomain.com/theTeamName/news
This may be a very simple request, but not something I've set up before.
Are you saying that forwarding and/or using an alias would achieve this?
One thing to note is that I'll be using the Url segment /theTeamName/ as a routing parameter - as there will be more than one team using the site.
french_duke
Member
196 Points
147 Posts
Re: Custom domains in a shared hosting MVC site
Mar 15, 2011 08:23 AM|LINK
raduenuca -
Thanks for the reply.
The end result is that, as they browse throught the site, they retain their domain name in the Url. I belive that using the link helper class in MVC keeps everything relative anyway so that'll probably help.
So when they hit their 'news' page, I'd like them to see:
www.theirDomain.com/news
Or if someone finds their team using my service and visits their news page, I'd like them to see:
www.myDomain.com/theTeamName/news
This may be a very simple request, but not something I've set up before.
Are you saying that forwarding and/or using an alias would achieve this?
One thing to note is that I'll be using the Url segment /theTeamName/ as a routing parameter - as there will be more than one team using the site.
Cheers