Domain Pointing

DNS (Domain Name System) allows us to reference computers by easy-to-remember domain names, like example.com  instead of IP addresses. DNS records define which IP addresses map to which domain names and how to handle other kinds of requests a domain might receive.

To set up a domain name, you need to do two things. First, you need to purchase a domain name from a domain name registrar. Second, you need to set up DNS records for your domain by using a DNS hosting service.

Domain Pointing using Godaddy.com

Step 1: Login to Godaddy.com
Step 2: My Products – > My Domains
Step 3: Select Your Domain -> Manage DNS
Step 4: Edit Your domain
Step 5: Change Points To IP address and save

Configuring Apache

Step 1: Create yourDomainName.conf file.

Step 2: Add following code And change the Domainname.com with your domain name.

Step 3: Execute following commands.

installing SSL certificate on a Domain

Step 1: Create a directory name yourDomainName on following path /etc/ssl/certs/
Step 2: Navigate to /etc/ssl/certs/yourDomainName
Step 3: Go to Website https://www.sslforfree.com/ And login
Step 4: Enter Domain Name then Click on Manual Verification and Verify Your Domain.
Step 5: You will get 3 files
  • 1- Certificate
  • 2- Private Key
  • 3- ca-bundle
Step 6: Create three files with extensions .key, .crt , .ca-bundle in yourDomainName directory.

Step 7: Add following code And change the yourDomainName.com.conf with your domain name.

Step 8: Execute the commands

Step 9: Create a .htaccess file to force https and Place below code in the file

proxy Server

Step 1: to enable proxy execute following commands

Step 2: Add following code in yourDomainName.com.conf  file

Step 3: save file and execute the following command

 

 

Facebook Comments