Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Subdomain" after my website name

Is there a way to dynamically create a kind of sub-domain that goes between my website domain and the .com?

For instance, www.onlinevet.com would be something like:

www.onlinevet.dog.com
www.onlinevet.cat.com

like image 601
Fernando Rybka Avatar asked Jan 23 '23 05:01

Fernando Rybka


1 Answers

That's not possible as domains are processed from right to left in a hierarchical manner meaning that each domain is a subdomain of the domain immediately to it's right. To create a subdomain, it must appear to the left of your domain name. You could create

www.dog.onlinevet.com

as that would have a dog subdomian registered to onlinevet.com, but not

www.onlinevet.dog.com

as that would have a onlinevet subdomain registered to dog.com

like image 103
Chris Thompson Avatar answered Jan 28 '23 18:01

Chris Thompson