Ecommerce businesses are now more common due to the large demand online. So it is crucial to brand your business name to spread business awareness both nationally and internationally. That’s why today we introduce you to some simple steps to have a domain name and website to connect you with more clients.
One of the main methods to increase the business name is to have a website including the introduction, products, and services you provide. Add your contact information, and even conduct business with you through your domain name and website. You should host a straightforward website if your company is just getting off the ground and you don’t anticipate seeing a lot of traffic. That is possible on Google Cloud, which makes the procedure incredibly rapid, simple, and affordable. The below parts will mention:
- Google Account and new project
- CNAME Record
- Create a bucket
- Set basic upload permissions on the static files
- Web Test
Google Account and Start New Project
Create an account if you’re a new member of Google Cloud to see how well our products work in practical situations. Additionally, new users receive $300 in complimentary credits to run, test, and deploy workloads.
Choose or create a Google Cloud project from the project selector page in the Google Cloud dashboard.
Make sure your Cloud project’s billing is enabled. Find out how to determine whether billing is enabled for a project. For your project, enable the Compute Engine API to possess the roles of computing network administrator and storage object administrator under identity and access management.
You must have a domain that you control or own, as stated in the criteria. Register a new one using a variety of services, including Google Domains, Name Cheap, and Godaddy vs Network Solutions. The next instruction makes use of the name, some domains will charge you some fee while many others are not. Just choose one to start your business. Ensure that the domain you intend to utilize is yours to manage or own. The top-level domain should always be verified rather than a subdomain.
It’s possible that you’ve previously completed this step if you control the domain you’re linking to a bucket. Verification is done automatically if your domain was purchased using Google Domains. It is one of those essential technologies you should take a consideration first.
There are many systems utilized on the internet to ensure that you can reach the destination. Domain Name Services (DNS), which aids in converting IP Addresses into human-readable names. To aid in the proper configuration of other services, DNS offers the option to add RECORDs to the DNS record. MX records, or Mail eXchange Records, are some of the more popular ones that support email systems. To ensure that the correct server will be reached even if someone merely types your domain name without the “www,” you must construct a CNAME, also known as an alias record or Canonical Name record, in this section.
Create a Bucket
Control Cloud Storage Buckets in the Google Cloud console. Add all of the bucket information by clicking Create bucket. Entering a name for your bucket that complies with the rules for bucket names. Some other parts you should know to include choosing where to store your data, choosing a default storage class for your data, choosing how to control access to objects, and Choosing how to protect object data. In Choose where to store your data section, add location type and permanent store. In Choose a default storage class for your data, click on a storage class for the bucket. For Choose how to control access to objects, determine public access prevention and access control, model.
You have used the Cloud Console graphical user interface throughout this codelab thus far. However, Cloud Shell, which gives you direct browser access to your cloud resources’ command lines, also lets you manage Google Cloud.
Set Basic Upload Permissions on the Static Files
Now, get the static files from the marketing department or the website developer. If you’re doing it yourself, there are several excellent HTML and CSS tutorials available. Then, use one of three methods to upload the static files into the bucket you prepared.
Step 1: Firstly, click on the Cloud Storage Buckets page. Click the name of the bucket you created in the list of buckets. The Objects tab is selected to open the Bucket information page.
Step 2: Select the Files to Upload button.
Step 3: Browse to and pick the desired file in the file dialog.
Step 4: You ought to see the filename and file details displayed in the bucket once the upload is finished.
See Troubleshooting for details on how to obtain thorough error information regarding unsuccessful Cloud Storage activities in the console.
Apply the access restriction to the entire bucket. That is safer, and since it is a static website, it is likely necessary for all of the information to be legible in order for the site to load correctly. If you have any hidden files or design metadata, for example. On Macintosh, a file called DS Store is used to hold custom attributes of the folder it contains, including the location of icons or the preference for a background image.) They may each be erased or hidden separately.
When a visitor requests a URL but there isn’t a file connected with it, a file called an index page (also known as a web server directory index) is delivered to them. When a MainPageSuffix is specified, Cloud Storage searches for a file with that name and a prefix that corresponds to the visitor’s requested URL. Imagine that your static website’s MainPageSuffix is set to index.html.
After launching the website, you can browse and go to the website you created. Checked whether it functions perfectly or not. Confirm each of the images and information provided are displayed well.