Nginx Configuration in Laragon to Support Subdomain
-
Hi,
I'm developing my Laravel in my localhost using Laragon, is there anyone who uses this one too for their localhost environment ?
I was trying to build a subdomain in my Laravel Route, but subdomain.myapp.tld just doesn't work.
Anyone knows how to configure it? Apache Conf or Nginx Conf is fine, I can use both Server in my Laragon.
Thank You
-
@pramanadiputra : Just add subdomain.myapp.tld to your hosts file and update your Virtual Host file.
-
@leokhoa Hi Leokhoa thank you, can you be more spesific which one is hosts file and virtual host file?
Thanks