gcloud compute sshcommand, which is part of the Cloud SDK. This tutorial demonstrates the steps in the Cloud Platform Console.
nginxand PHP on your instance
nginxand PHP are working together:
HTTP 404), verify:
mysql_secure_installationcommand to improve the security of your installation. This performs steps such as setting the root user password if it is not yet set, removing the anonymous user, restricting root user access to the local machine, and removing the test database.
gcloudcommand. For full details, see Transferring files to Linux Instances. This tutorial uses the
gcloudcommand, which is part of the Cloud SDK. Copy files to your instance using the
copy-filescommand. The following example copies a file from your workstation to the home directory on the instance.
www.example.comto point to your website hosted on Compute Engine.
example.comdomain name, create an
Arecord with your DNS provider. For the
www.example.comsub-domain, create a
wwwto point it to the
Arecord maps a host name to an IP address. The
CNAMErecord creates an alias for the
Arecord. This lesson assumes you want
www.example.comto map to the same IP address.
Arecord and set the value to your external IP address. The name
@, which represents the naked domain. For more
CNAMErecord, set the name to
www, and set the value to
example.com.. Read the [Google Apps
Arecord with various providers.
rootuser. You might want to configure your document root for another user or want to change the directory location in the NGINIX configuration file. The web server document root is at
/usr/share/nginx/www, and the
nginxconfiguration file is at