jeudi 1 juin 2017

Apache route all incoming domains

I am not sure how to put that in words but I will do my best.

Let's say I have 3 domains.

example1.com

example2.com

example3.com

I have an apache server.

I have an laravel application that takes domain name as a parameter and serve content based on this.

I would like to configure apache that way to catch all incoming domains to route to the same place. So in the future when I need to add example4.com all I needed to do is set up an A record with proper IP address.

Any answers would be much appreciated.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire