Wild card based virtual host?
Posted by: nikhil_agrawal@live.com (117.247.136.---)
Date: September 24, 2020 04:08PM

Hello

Is there any way to create wildcard based virtual host?

Basically i want all my <anything>.local.com to point to a particular folder

so i tried creating with *.local.com but it says invalid domain name.


PLease help if this is possible.

Options: ReplyQuote
Re: Wild card based virtual host?
Posted by: RiggsFolly (Moderator)
Date: September 25, 2020 06:57PM

Yes its possible.

I suggest a google on "apache wild card domain" ... It worked for me

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.2.0 32bit & 64bit)
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.19>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.