Nginx Configuration in Laragon to Support Subdomain

  • | 444 points


    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

  • administrators
    | 81449 points

    @pramanadiputra : Just add subdomain.myapp.tld to your hosts file and update your Virtual Host file.

Log in to reply

Looks like your connection to Laragon was lost, please wait while we try to reconnect.