I follow Jeffery Way lesson on wildcard subdomain but my app not working as intended. I have already done the subdomain routing in my routes.php and set wildcard subdomain in my domain registrar. I don't know what am doing wrong here. Here is a link to the site: mylungu.com.
If I enter something like funaab.mylungu.com in the browser, I keep getting godaddy default coming soon page but if I enter www.mylungu.com it works the way I want by getting the subdomain part (in this case www).
Any please on this will be appreciated, spend over a week trying to to figure this out.
You have to set it up in 2 places: First your DNS needs to know which server to point *.mylungu.com too. Once it hits the server, the server needs to take that and decide which site to point it to. So yes, you need to set it up on your go daddy server as well.
Well you're gonna have to tell your host where your Laravel app is , that the webserver needs to redirect all subdomains
to your Laravel app. That is who you achieve that.
There is no other way for the webserver (being apache, lighttpd or nginx) to know that you're trying to place all subdomains in the same place.
Can you modify the apache VirtualHost Config? Because that's what you want. Or through some interface tell Godaddy to expect all subdomains for that domain.
I'm sorry i can't help you by example man, but i've never worked with GoDaddy as a host.