PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, January 2, 2022

[FIXED] Laravel Elastic Beanstalk

 January 02, 2022     amazon-elastic-beanstalk, hosting, laravel, php     No comments   

Issue

I will deploy my Laravel application using AWS Elastic Beanstalk... I was wondering if I should change my APP_URL to my custom domain name? Or should I leave it unaltered? Or should it be set to the domain on Elastic Beanstalk (which I think is most likely).

I have seen tutorials where the APP_URL was not changed in the .env file but I do not think this would work in my case considering that my application sends notification messages with a link to the website.


Solution

APP_URL should be the final domain you will use, that variable is referenced by the default email notifications, console commands, and a lot of external packages.

Try to search for APP_URL and app.url in your Laravel Project:

enter image description here

enter image description here



Answered By - Luis Montoya
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing