Monday, August 31, 2015
How to Set Up an URL for a Web Page (5 Steps)
Purchase a domain name from a registrar. By purchasing a domain name, you will register it as your own and be able to control where the domain resides. There are many registrars available such as GoDaddy, Register.com, Enom, Network Solutions and Dream Host, to name a few. Many registrars also provide web hosting and vice versa. Domain names typically cost between $2.00 to $10.00. per year, as of 2010. '.com' is the most expensive; '.net,' .org,' and '.info' are progressively less expensive.
Open a shared hosting account with a web host. If your website becomes popular, you can upgrade to a VSP or dedicated server at any time. Depending on the registrar you purchase your domain from, you may be able to also host with them. Web hosts typically charge on per month basis and offer options for monthly and yearly payment options. Some of the web hosts available are GoDaddy, DreamHost, HostMonster and HostGator.
Redirect your domain's nameservers, also referred to as 'DNS,' to the IP address of your web host's nameservers. Your domain will have two nameservers, 'Nameserver 1' and 'Nameserver 2.' Your web host will provide you with an address for each nameserver. The addresses will look like, 'ns1.your-host.com' and 'ns2.your-host.com.' You will need to refer to your web host/registrar for the specific address and instructions on how to redirect your domain's nameservers.
Upload the files for your web pages. Log in to the cPanel on your hosting account and go to the 'File Manager.' Click on your domain name to be taken to the root folder for its directory. Upload the index.html file and other associated files for your website. You may also choose to use your host's script installer to install a website automatically for you, which will vary in procedure from host to host.
Wait at least 24 hours for the change to take effect. Once the redirection of the nameservers has completed, your domain name will now be the URL of your web page. For example, by typing 'http://your-domain-name.com' you will be taken to your web page.