Can Not Connect Domain With Laravel Forge

- 1 answer

I created a domain with GoDaddy, and connected it with Digital Ocean. I think the domain connected exactly to Digital Ocean.

In Laravel Forge, I made an app with that domain, and deployed my GitHub project. The problem is, if I visit my website, it is showing just the "Welcome to nginx!" page. How do I make it display the code I wrote?



If you deployed your application in default directory, then setting up the domain DNS records should point to you server ip address and your website should be accessible from both server ip address and the domain.

But if you deployed your application in a different directory rather than the "default" you need to change your DNS records for pointing correctly to application directory.

You may want to take a look at Laracasts Deployment tuts for Laravel Forge

a basic tutorial by Jeffery Way:

a newer version for working with Laravel Forge by Marcel Pociot: