How to Host your Website on Google
- Step 1: Go to appengine.google.com and create a new application. If you have never used App Engine before, you might be asked to verify your mobile phone number before you can create a new app.
- Step 2: Give your application a name – it should be unique and may only include lowercase alphabets and digits. For this example, our app identifier is “thisismybestwebsite”.
- Step 3: The next two sub-steps may scare some of you but trust me, they simply require you download and run two installers in the given sequence.
- a. Download and install Python from python.org.
- b. Download and install App Engine SDK from this code.google.com.
Step 4: Download and unzip this file – website.zip – somewhere on your desktop. It contains a basic website with some HTML pages, images and CSS that we’ll try to host with Google App Engine.
Step 5: Open the app.yaml file with notepad and replace the word ‘labnol’ with the application identifier that you created in Step 2 above. Save the changes.
Step 6: Finally it’s time to deploy /upload our website to Google App Engine. Open the Google App Engine Launcher program from the Start Menu, choose File –> Add Existing Application and browse to the folder where you unzipped the website.
Hit the deploy button, input your Google Account credentials and within seconds, your website should become available online at abc.appspot.com where abc is your unique app identifier. Later, if you add or modify any web page, press Deploy again and your new /edited files will get uploaded to App Engine.