Is there a way to resolve subdomain.domain.com to domain.com/subdomain

0

Is there a way to resolve or convert username.domain.com to domain.com/username if someone types in username.domain.com?

Basically, our current system uses username.domain.com for replicating websites, username being anything like bob.domain.com or happyguy.domain.com, but we may be switching to a system that only supports domain.com/username, so only URLs like domain.com/bob or domain.com/happyguy.

Our replicating websites are currently WP but the proposed system uses its own proprietary replicating site and shopping cart.

The reason I need to be able to resolve the URLs in that way is that we have thousands and thousands of associates that have their URL on their business cards, literature and online ads etc.

PeterD

Posted 2018-06-28T22:47:51.510

Reputation: 1

This can possibly be done at the web server. Are you using Apache, IIS, or is this hosted and you don't have direct access to the web server? – Musselman – 2018-06-29T00:04:38.973

The servers are not in-house but we are running WIndows VMs through EPIC.io so I assume it's IIS. I can most likely get access to whatever we need to get access to, to make any changes. – PeterD – 2018-07-02T17:43:26.560

No answers