Skip to content

Sagar Kunwar

Menu
  • Home
  • YouTube
  • Blog
  • Contact
  • Privacy Policy
Menu
How to upload your website on your own domain?

How to upload your website on your own domain?

Posted on January 22, 2021February 11, 2023 by Sagar Kunwar

After successfully creating a website, you want to publish your website to the internet. In this blog, we are going to learn how to publish or upload a website to the internet in 6 easy steps.

  1. Buy a domain name
  2. Buy a web hosting service
  3. Choose a website upload method
  4. Upload your website files
  5. Import database for your website
  6. Check the website

1. Buy a domain name

Buy a domain name and a web hosting service
Photo by Markus Winkler from Pexels
First thing first, in order to host any website the first and the most important step is to get a domain name. A domain name is an address that people type in a browser URL to reach your website. Anyone can buy a domain name. You need to visit a domain registrar like Mastodomain, GoDaddy, or any registrar. Search for a domain name you want to buy and pay a fee. A domain name should be unique and accurately represents your business or portfolio for that matter. You can buy any domain name that is not registered yet and need to have a valid domain suffix.

2. Buy a web hosting service

Buy a web hosting service
Photo by panumas nikhomkhai from Pexels
After you have got your domain name, you need space in the internet to store your website. There are many web hosting provider in the market like Mastodomain hosting, Blue Host, HostGator and many more. Web hosting are of different types like Shared Hosting, Virtual Private Server (VPS), Dedicated Server Hosting etc. Based on your requirements you choose the right hosting for your website. Almost all the hosting provider provides the same kind of control panel with almost same settings. Once you buy a web host you point your domain to your host then when you enter your domain in the browser it should redirect to your website. At this point it will show empty page or will show the page your host had configured.

3. Choose a website upload method

Now, you need to choose the website upload method to the internet. There are many ways to upload website to the web server like File manager, FileZilla or any FTP application, WordPress Uploader if you are developing a WordPress site. Today, we are using File Manager as it is the most easiest option.

  • Go To cPanel and click on file manager in the Files Section

Choose a website upload method

  • Go to public_html folder, This is the root folder where your website index is uploaded

Choose a website upload method

 

4. Upload your website files

Its time for us to upload the website files to server. Make sure you publish all the files to the public_html or root folder based on your host as visitor will be redirected to this folder when they visit your site. To upload make a zip of the website files and use the upload button at the top of the page.

Upload your website files

 

On clicking upload new page will open where you upload the zip file and in the public_html or root folder refresh to see the zip file. Now right click on the zip and click extract to extract all the files.

Upload your website files

 

5. Upload database for your website

Upload database for your website

If your website also uses a database, you need to import  it too.

  • In the cPanel go to MySql datatbases and create a new database.
  • Go to phpMyAdmin and import the database from import section
  • Update the MySql databases details in your configuration file in your code

6. Check the website by visiting your domain

Once everything is done and domain is successfully pointed to your site. That’s it you can see your brand new website up and running.

 

(Visited 102 times, 1 visits today)

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Guide to Responsive Images with `srcset`
  • # Creating and Validating Forms in React with Formik
  • Setting Up Multiple Pages with React Router DOM v6
  • How to Use VS Code Like a Pro: Extensions and Shortcuts

Categories

  • Blog
  • Javascript
  • PHP
  • Support
  • Uncategorized
  • Web Hosting
January 2021
S M T W T F S
 12
3456789
10111213141516
17181920212223
24252627282930
31  
« Dec   Feb »
© 2025 Sagar Kunwar | Powered by Superbs Personal Blog theme