I am working on a SaaS platform and I hope to be able to give customers unique URLs. However, the entire platform is one big system/database, and the URLs would be local-specific. For example, a submitted product for sale in Brooklyn, NY might look like: "" But since the Borough of Brooklyn is my customer, they may want to have their own URL, such as In that case, I would want the URL to be "". How would I support many locations and states, have all the events listed in a single database, and still offer my customers a unique URL? Can you do a rewrite that makes "" be renamed to, and then add (/products/product-name) after it?

It's possible, but not the way you think.

The first is the top level domain. There are a couple of options. One is you'll need to DNS redirect from their web hosts to your address. Note this is not an HTTP redirect! If your servers take over the DBS hosting process, then you take control of that, which is something some CDNs do (such as CloudFlare). However, given you're asking the question, I'd suggest it might be too advanced for you if you've not got a good grounding in web networks.

The URL rewriting element will give you the rest of the path though. Indeed, if you're using MVC you get this out of the box through its routes (you just direct their path to your path). But the URL rewriting module is available for IIS in any case.

If you need any more help or info, happy to schedule a call in. Just ping me a message.

Answered 4 years ago

Unlock Startups Unlimited

Access 20,000+ Startup Experts, 650+ masterclass videos, 1,000+ in-depth guides, and all the software tools you need to launch and grow quickly.

Already a member? Sign in

Copyright © 2020 LLC. All rights reserved.