DNS/Setup/
2022-10-17T09:33:34.650973Z
Published on
If you have not changed any DNS settings after purchasing your domain. Then by default, your domain name will be in a parked state. That means when you visit your domain name it will redirect to some sample page without showing a blank page.
To change the state of your domain name from Parked state to Live state. You have to delete an A record ( with fields mentioned as Parked on it ) from the DNS settings. To read more about DNS records click here.
Purchased domain name
Linux server with public IP address
Navigate to the dashboard of your Linux server and get the public IP address of the server.
Login to the domain provider account
Navigate to the DNS settings of the respective domain name.
Note:* In this article, Godaddy is used as a domain name provider.
Delete the A record ( with fields mentioned as Parked on it ) from the DNS settings.
For your reference an example screenshot is given below, In this example the domain name provider is Godaddy.
Note:* In this article, Godaddy is used as a domain name provider.
To link your domain name with the Linux server IP. Create an A record, as shown in the below screenshot.
Type: A
Name: @
Value: 0.0.0.0 ( Enter your Linux server IP address, eg: 53.253.23.125 )
TTL: Default
Note:* To Check whether the domain name is linked to the Linux server IP, please follow the below steps.
install Nginx on Ubuntu
1sudo apt update
2sudo apt install nginx -y
Check Nginx status by executing the below command, If the status is running you’re ready to go.
1systemctl status nginx
An example output screenshot is given below.
Check your domain name is linked to the Linux server, by visiting the domain name from a web browser.
An example output screenshot is given below.
Comments