How to Make a Website on AWS Lightsail (WordPress setup tutorial)
Тәжірибелік нұсқаулар және стиль
Learn how to host a WordPress website on Amazon Lightsail. Additionally, we will link a domain name and install a free SSL certificate.
Code snippets and more at tonyteaches.tech/aws-lightsai...
Check out my vlog channel @TonyFlorida
New AWS users get 3 months free 👉 aws.amazon.com/lightsail/
#aws #lightsail
Пікірлер: 98
I'm confused! Why did you not set a static IP address before creating your A records? Am I missing something, or did you overlook this?
@TonyTeachesTech
2 жыл бұрын
Lightsail provides you a static IP 2:56
@tartanrambo
2 жыл бұрын
@@TonyTeachesTech Tony, Tony, Tony, all you said at 2:56 was, "we do have an IP address associated with this instance already". I mistakenly understood from the title of your tutorial that you would run us through the entire process to get up and running. I was following along nicely to this point. But, you completely skipped over the point that Static IP addresses are not simply attached to an instance and that the IP address you see after creating your instance, is not static. This is a very important step. Something I had to learn the hard way. Anyone following your tutorial should be made aware of this so they don't follow me down the rabbit hole. You likely assumed that viewers already know this, which would defeat the object of anyone watching your tutorial in the first place. Other than that, it was a great tutorial and helped me immensely. Keep up the great work and thank you for sharing your knowledge and experience with your viewers...
@TonyTeachesTech
2 жыл бұрын
@@tartanrambo You're absolutely right! Oversight on my end lightsail.aws.amazon.com/ls/docs/en_us/articles/understanding-static-ip-addresses-in-amazon-lightsail. Here are the instructions for setting a static IP on Lightsail lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-create-static-ip
@NeelsWorld
2 жыл бұрын
@@TonyTeachesTech Yes, the first one is a public IP and setting the static IP is easy too.
@sprinterfix
Жыл бұрын
@@NeelsWorld wait so we do need a static IP? do we need to create it before we attach domain? or is static IP only necessary if we need to ssh via aws cli?
This has to be one of the most concise and helpful videos I’ve seen on YT to date. Very good!
Wow, this was fantastic! That's so much for taking the time to make this guide!
Thank you for the outstanding video. I'm starting off building my first website and just discovered Lightsail. Your video gives me comfort in knowing it's not as difficult as I thought.
Amazing. Thank you. I keep learning more than you imagine.
Thanks for the turotial video with all the details I was looking for using WordPress with AWS. I was sticking at the site URL and site certificate for way too long, this video solved the problem in minutes! ❤
@TonyTeachesTech
Жыл бұрын
Great to hear Simon!
This is great video! First I thought that you will overexplain things, but you really talk to the topic and only necessary information. You helped me start my business, thank you :)
@TonyTeachesTech
Жыл бұрын
Awesome, I'm happy to hear that! Good luck
EXCELLENT tutorial. Thank you.
Excellent video! I've been working with AWS for about a year, but had not really used lightsail or wordpress before. I got two websites up and running within 45 minutes. Thanks for the information and breakdown!
@TonyTeachesTech
Жыл бұрын
Glad it was helpful!
Awesome tutorial! Thanks
so helpful. thank you!
you are fantastic teacher. "Mil Gracias" THKS
Wow tony you badass IT guru Thanks for the video. I subscribed
Madness! you just saved my life when you showed how to change from the http wordpress URL to https
thanks for all the help!
Great Video - Thank you very much!!
what a perfect demonstration, small UI update in aws lightsail config page, need to press a couple more buttons to get key pairs. but perfect demo, congrats!
Nicely done.
Great tutorial. You explained a lot within short! Keep creating good things
@TonyTeachesTech
3 ай бұрын
Thank you! Will do!
Dude! You're a GENIUS! I've been trying hard to change the max var input for long . . . vim made my day and the "I" for edit mode and esc :wq that made my day. Bless you.May your girlfriend give you many babies!
@TonyTeachesTech
2 жыл бұрын
Haha great to hear!
Thanks for your amazing video, you always come with amazing videos, Thanks a lot sir, and great to know you got 35K subscribers,
@TonyTeachesTech
2 жыл бұрын
Thanks so much! Always watching and commenting on my videos :)
Greate detailed content. Next week I'm setting up a wordpress blog, and I will host on AWS with this solution. You have a new follower. 👍👍👍
@TonyTeachesTech
Жыл бұрын
Awesome, thank you!
@franciscomedinav
Жыл бұрын
@@TonyTeachesTech I just set up my blog today following your steps. Pretty straight forward. I'm gonna watch your videos about optimizing wordpress. Once again, Great Content!!
He is correct in saying you should delete the wordpress plugins because they are full of security vulnerabilities. I'm always impressed with how knowledgeable he is.
@TonyTeachesTech
2 жыл бұрын
:)
Great tutorial
@TonyTeachesTech
6 ай бұрын
Glad you think so!
Thank you so much!! I was really annoyed by how to secure my website using aws lightsail. Thanks, you just got a new subscriber!
@TonyTeachesTech
Жыл бұрын
Thanks for the sub!
@MisterC0434
Жыл бұрын
@@TonyTeachesTech you’re welcome
Amazing Video
@TonyTeachesTech
3 ай бұрын
You're welcome! Subscribe for more :)
@Tony Teaches Tech Thanks a Lot
@TonyTeachesTech
Жыл бұрын
You are welcome
Hey Tony! Thanks for the vids. Very helpful! I have been running into an issue when trying to import some legacy clients with oider versions of PHP. Any chance you would do a video on importing the database and wp-content without using some type of a plugin to transfer the site from a server to lightsail? Maybe even point me in the right direction? Thanks again!
Great video. Thank you. Only thing I am not sure of is I need to have the main user ID email setup and be able to forward it to several email addresses. Would this require SES (at a cost) or might there be some simpler solution. If I could have the main email come into my gmail account I could forward it from there so just a single email might work. Thank you again.
You had me at reverse SSH tunnel.
@TonyTeachesTech
Жыл бұрын
LOL :)
Thanks
Ohh, I would definitely recommend creating a snapshot before modifying the wp-config file for https, I uniquely managed to screw mine up and had to repeat the process from the beginning, yikes, but to be fair I am not a big vim user and did not access it through terminal but rather through aws lightsail pop up browser based terminal which is glitchy af for vim.
Awesome video! Really helpful. One question (might be a dumb one), but if I want to use WordPress as a CMS to load content on my Next Js website, can I follow the same steps? Thanks!
Hi Tony, I want to ask for your opinion on how hosting on AWS lightsail compares with hosting on BlueHost all in one package? I heard that lightsail has limits on CPU performance which is especially unpleasant when having more than 1 website. Would you still opt for lightsail over Bluehost?
Hey Tony. Good Work Buddy.👌👌 Can i just ask the software you use to record your videos?? Thank you Tony
@TonyTeachesTech
Жыл бұрын
I just use QuickTime that comes pre-installed with Mac
Thanks for another useful video Tony, i am not much familiar terminal so some complications here. one question : Do you know how to enable AWS CDN (CloudFront) on it?
@TonyTeachesTech
2 жыл бұрын
You're welcome Ravi. I don't yet have experience with AWS CDN
Great video, thanks for it. Just a quick update, now files are located in /stack folder instead of /opt
@blakesimmons2462
Жыл бұрын
As far as I can tell, the files are still located in /opt, but /stack is a simlink to /opt, probably for ease of use. So accessing either way should be fine.
can i use a panel to manager this ???because many code for me
How does tony not have over 100 Mil subs
@TonyTeachesTech
2 жыл бұрын
:)
For the https certificate can you use aws certificate manager?
Hey man, you video are very informative. I use it to host my website on lightsail.. however couple of days ago i get an error "An automated WordPress update has failed to complete - please attempt the update again now." All my research is saying to go into cpanel to delete the. Maintenace file. However my siste is not being hosted on cpanel. So how do i fix this since my site is hosted on lightsail?
Amazing video 🥹 Does anybody know how to redirect the static IP to the domain ?
how to change PHP 8.0.17 (cli) (built: Apr 13 2022 15:26:22) ( NTS ) to php 7.4 my plugins support only 7.4 please make a video
Hi bro Tutorial is very good, i followed all steps and its work fine. But one issue about redirection. When I trying to check domain redirection on online tool redirect checker, https url fine it's 301 redirect but with http url it shows 302 redirect. I need 301 redirect on http too. How I can change this?
Hello, you can help me, when the themes of themeforest "There Has Been a Critical Error on Your Website"
Hi! What about deleting the WordPress website hosted by AWS Lightsail? I can't see the "delete permanently" on my wp-admin general settings and I can't find any tutorial for deleting WordPress site hosted by Lightsail. Should I delete the instance and it will delete the website with it as well or what happens when I delete the instance? and thank you if anyone will reply.
If i already have a wordpress site running then can i replace that wordpress with this by simply renaming and dumping db?
After I changed the wp-config file I can not longer log into the admin console. When going to xxxx/wp-admin I get...l?php /** * The base configuration for WordPress * * The wp-config.php creation script uses
I cannot use the $10/month for because my account is new. Is there another instance plan that’s suitable?
We are not able to transfer ftp file while we try to transfer then after it shows error such as file transfer are failed
My designer needs cpanel. Can I follow this tutorial and then install cpanel?
I tried to install an SSL certificate using 'bncert-tool', SSL was installed, but it says that the certificate may not renew automatically due to a web server configuration issue. How to rectify this issue? I am new to AWS
is there any way to change the default username "user" as per my choice?
Thanks Tony one question : Do we need to add static ip?
@NeelsWorld
2 жыл бұрын
Static ip is needed to use custom domain, or the public IP will change everytime the server is restarted
I have a big problem with amazon lightsail servers and site domain. Amazon support does not answer me . I don't know what to do. I made the change dns to transfer the site on amazon putting prestashop and the servers do not work and when I open the site on the chrome browser I get the number of the instance instead of the domain of the site 😢
my website crashed after changing to https from HTTP any reason why ? I'm a windows user
How long will it be free?
Can’t we use OpenLiteSpeed with this configuration instead of Apache?
@TonyTeachesTech
2 жыл бұрын
Yeah sure
Chmod not recognised ????????????????????????????????? what do i do?
There is no download option next to my default key. only create + upload. What should I do?
@jacksonkang5959
Жыл бұрын
you can find the default key in account page
Which OS is Tony using? It looks like a Mac
@TonyTeachesTech
2 жыл бұрын
Yep, Mac
while using this command from web based terminal "mysql -u root -p" after entering password. got this error: ERROR 1045 (28000): Access denied for user '-root'@'localhost' (using password: YES)
@tobedobechannel
Жыл бұрын
Well, I addede "sudo" and it worked. So its "sudo mysql -u root -p"
Another option to open phpmyadmin without using an ssh tunnel is to go to phpmyadmin configuration and allow connections from any ip address or just your own ip address and then go directly to your_domain/phpmyadmin plz do more videos on AWS different services and minimize yourself on the screen so you don't cover any of the content, thanks
@TonyTeachesTech
2 жыл бұрын
Thanks for the suggestions
I tried https and my website crashed
why so many process ? I mean i just created wordpress site with Lightsail then saw bitnami_application_password file via ssh for admin access on site.