Domain - rishavry/WorksPresentation GitHub Wiki

  • A domain name is the human-readable address people use to find a website online, like "google.com" and "youtube.com".

  • In my Megagram project, I would set the domain to project-megagram.com.

  • Here's the steps I would take to assign a purchased domain to a specific IP-address.

    1. In the website that issues the domain(i.e GoDaddy, Bluehost, etc), go to the DNS section of your specific domain.

    2. Add an A record for '@' -> IP-address. This maps your specified domain to the ip-address directly. You can also add A-records for subdomains like 'www' -> IP-address, etc.

    3. Once you finish adding all the records of your choice, it may take a few minutes/hours, but the changes will in-fact take place. Now, if your website is on HTTP, by default it should run on port 80 of the server. If it's on HTTPS instead, it should run on port 443 of the server. If your server isn't running on either port, you must specify the port when entering the website's URL.