packy
15
1
Forge

Add Wildcard Subdomains to existing sites

Posted 10 months ago by packy

How do I add Wildcard Subdomains to a site I already created? Do I have to edit the NGINX Config file?

I saw placing this in the server{} section: server_name ~^(.*)\.example\.com$ ; but wasnt sure. I have always used .htaccess so I am not too familiar with NGINX

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.