Categories: Web Hosting

How to Host a Website: Step-by-Step for Beginners (2026)

Last Updated on: October 17, 2026

How to host a website becomes straightforward when you split it into four jobs: choose hosting, connect a domain, install or upload your site, and turn on HTTPS. This beginner guide covers both WordPress and a plain HTML website using a DirectAdmin hosting account, so you can make your site live without guessing which file goes where.

What you need to host a website

You need these four things before you start:

  1. Website files or a website platform. For WordPress, you create pages after installation. For a static site, prepare index.html, your CSS file, JavaScript, images and any other folders.
  2. Web hosting. This is the online storage and web server that delivers your files to visitors. HostKarle Basic supports one website, 70 GB pure SSD storage, 10 business email accounts, two MySQL databases and DirectAdmin management.
  3. A domain name. This is the address people type, such as example.in. You can register one with your hosting provider or keep a domain registered elsewhere.
  4. DNS and SSL. DNS sends the domain to your hosting account. SSL lets visitors open the site with https:// and shows the browser’s secure connection indicator.

HostKarle Basic is ₹99/mo when billed yearly at ₹1,188, or ₹149 for monthly billing. It includes free auto-renewing Let’s Encrypt SSL, Softaculous one-click WordPress, self-service backup tools and renewal at the same signup price. Choose a larger plan if you need multiple websites, more databases or more mailboxes.

The basic relationship is simple: the domain is the address, the hosting is the rented online space, and the website is what you put in that space.

Step 1: Buy a domain and hosting

Why this matters: your control panel and domain must refer to the same website before visitors can reach the files you upload.

  1. Choose a domain that is easy to say, spell and remember. For an Indian local business, .in or .co.in may fit; a business serving a wider audience may prefer .com.
  2. Buy a hosting plan. For one WordPress site, portfolio, tuition centre or small business site, the HostKarle Basic shared hosting plan is the one-site option.
  3. Register the domain in the same order if you want one account to manage both. HostKarle domain prices currently start at ₹709/yr for .co.in; .in is ₹889/yr and .com is ₹1,259/yr. These are the prices listed for the respective extensions, so check the cart before paying.
  4. If your domain is already registered elsewhere, keep it there and point it to the hosting in Step 3. You do not need to transfer the domain just to host the website.
  5. Save the hosting welcome email, the customer-area login and the domain registrar login. Do not share the panel password in a screenshot or chat.

HostKarle’s DirectAdmin login is at panel.hostkarle.in. The panel is where you manage domains, files, WordPress installation, SSL, email and backups.

HostKarle’s DirectAdmin login page for accessing the hosting panel.

What success looks like: you can sign in to the hosting panel and see your domain listed, or you have the hosting account details ready while the domain remains with another registrar.

Step 2A: Install WordPress in one click

Why this matters: WordPress gives you an admin dashboard for pages, posts and themes, so you do not need to upload every site file yourself.

HostKarle uses DirectAdmin with Softaculous for one-click WordPress installation. WordPress also documents automated installation through Softaculous.

  1. Sign in to DirectAdmin.
  2. Open Softaculous Apps Installer. If the panel shows a search box, search for WordPress.
  3. Select WordPress, then choose Install.
  4. Select the correct protocol. After SSL is active, use https://; during the initial setup, you can select http:// and change the site URL after SSL is enabled.
  5. Select your domain. Leave the In Directory field empty if the home page should open at https://yourdomain.com/. If you enter blog, WordPress will be installed at https://yourdomain.com/blog/ instead.
  6. Enter a site name, a short description and an administrator username. Use a unique username and a long password; do not use admin as the username.
  7. Confirm the administrator email address, choose the latest stable WordPress version offered by the installer, and start the installation.
  8. Save both the website URL and the WordPress login URL shown when the installer finishes. The login normally ends in /wp-admin.

What success looks like: the WordPress login page opens at your domain’s /wp-admin address, and signing in shows the WordPress dashboard. If the domain is not pointing yet, finish DNS first and test again with the real domain.

Step 2B: Upload an HTML site with File Manager or FTP

Why this matters: an HTML site is already built; hosting it means placing the correct files in the domain’s public web folder.

Option 1: DirectAdmin File Manager

Use File Manager when you have a small site or want to avoid installing an FTP application.

  1. Open File Manager in DirectAdmin.
  2. Open the domain folder and then public_html. On a typical DirectAdmin account, the path looks like domains/yourdomain.com/public_html.
  3. Make sure your home page is named exactly index.html. Linux hosting treats Index.html and index.html as different names.
  4. Select the website files and folders on your computer. Upload the files themselves, not only the folder containing them. After uploading, index.html should be directly inside public_html.
  5. If the site is a ZIP file, upload it, use the File Manager’s Extract action, and move the extracted files into public_html if they landed inside an extra folder.
  6. Keep the folder structure used by the page. If index.html refers to css/style.css, the uploaded path must be public_html/css/style.css.

Option 2: FTP

FTP is useful for a larger set of files or repeated updates. Create or use an FTP account in DirectAdmin, then connect with an FTP client using the host, username, password and port shown in your hosting account. Upload the site files to the domain’s public_html folder.

If you need an FTP account first, follow our guide to creating and connecting with an FTP account. Treat FTP credentials like passwords, and remove old accounts that you no longer need.

MDN’s file-upload guide also recommends checking that the correct files, including the home page, are uploaded to the web server.

What success looks like: opening the domain shows your home page instead of a directory listing, a default page or a 404 error.

Step 3: Point the domain and turn on free SSL

Why this matters: uploading files does not change where the domain looks; DNS must point the domain at the hosting account, and SSL must cover the final domain name.

Point the domain

If you registered your domain with HostKarle in the same order, the connection is normally prepared for you. If the domain is with another registrar:

  1. Sign in to that registrar.
  2. Open the domain’s Nameservers or DNS settings.
  3. Replace the current nameservers with these HostKarle nameservers:
ns1.fastnsdns.com
ns2.fastnsdns.com
  1. Save the change. Do not add https://, a slash or your website name to a nameserver value.
  2. If you already use the domain for email or other services, record the existing DNS records before changing nameservers. Recreate any required records in the new DNS manager before relying on those services.

You can follow our guide to finding and updating HostKarle nameservers for the registrar-side screens. DNS changes are cached by resolvers, so the old result may appear for a while. Test again later from a different network or with a second device rather than repeatedly changing the nameservers.

Turn on SSL

  1. Wait until the domain resolves to the hosting account.
  2. In DirectAdmin, open SSL Certificates, SSL, or the Let’s Encrypt option; the label depends on the panel skin.
  3. Select the domain and its www version if both are offered.
  4. Request or enable the free Let’s Encrypt certificate, then wait for the panel to confirm it is installed.
  5. Open https://yourdomain.com and https://www.yourdomain.com. Choose one preferred version and redirect the other to it once both work.

Let’s Encrypt explains that hosting providers may obtain and manage certificates for customers through an ACME client, so you do not normally need to run certificate software yourself when the host provides managed SSL. HostKarle includes auto-renewing Let’s Encrypt SSL with its hosting plans.

What success looks like: both the domain and its preferred www or non-www version open over HTTPS without a certificate warning. The browser address begins with https://.

Step 4: Check the site is live

Why this matters: a page that opens on your laptop can still have broken links, missing assets or a DNS problem for other visitors.

Run this short launch check:

  1. Open the home page in a private browser window. This reduces the chance that an old login or cached page hides a problem.
  2. Test both https://yourdomain.com and https://www.yourdomain.com. Confirm that your preferred version loads and the other redirects consistently.
  3. Click the main navigation, contact link and any important call-to-action button.
  4. Check the site on a phone and a desktop-sized screen.
  5. Open an image and a CSS-heavy page. Missing images, plain text or unstyled pages usually mean a wrong file path or an uppercase/lowercase mismatch.
  6. For WordPress, sign in to /wp-admin, open Settings → General, confirm the WordPress Address and Site Address use the correct HTTPS domain, and save only if they are correct.
  7. Submit a test contact form if the site has one. Confirm that the form’s destination is the inbox you intend to monitor.
  8. Keep a copy of the original website files and take a self-service hosting backup before making major changes.

The site is live when the correct home page loads over HTTPS, the important links work, assets appear, and the same result is visible from a second device or network.

Troubleshooting common hosting problems

The domain shows an old page or does not open

Check that the nameservers were saved at the registrar and that the domain is added to the hosting account. DNS caching can make the old destination appear temporarily. Do not keep switching between nameservers; verify the values, wait, and test again.

I see a 404 or directory listing

For an HTML site, put index.html directly in the domain’s public_html folder. For WordPress, check that you installed it on the domain rather than inside an unintended directory. Also check that the domain’s document root is the folder containing the site files.

The page loads but images or CSS are missing

Compare the links in the HTML with the uploaded names and folders. images/logo.png, Images/logo.png and images/Logo.png may be different paths on Linux hosting. Upload every referenced folder and use relative paths that match the final domain structure.

HTTPS shows a warning

First confirm that the domain resolves to the hosting account. Then check that the certificate includes the exact hostname you opened, including www if you use it. If the page loads but some images or scripts use http://, update those links to https:// to remove mixed-content warnings.

WordPress redirects to the wrong address

Open the WordPress settings or database only after confirming the intended domain and HTTPS version. A WordPress installation in /blog will use a different URL from one installed at the domain root; check the installation directory and site URLs together.

FAQ

Can I host a website without buying a domain?

Yes. You can upload a site to a temporary hosting address while you build it, but a custom domain is easier for customers to remember and for you to keep long term. Buy or connect the domain before launch so SSL, email and links use the final address.

Is WordPress or HTML better for a first website?

Choose WordPress if you want an admin dashboard, blog posts, pages or plugins without editing code for every change. Choose HTML if the site is small, already coded and mostly static. Both can be hosted through DirectAdmin; the installation path is different.

How long does it take to host a website?

Uploading a prepared HTML site or installing WordPress can take only a short setup session. The part you cannot fully control is DNS caching after changing nameservers, so allow time for the new destination to be seen by different networks before judging the launch.

Do I need FTP to upload a website?

No. DirectAdmin File Manager is enough for many small sites and ZIP uploads. FTP is useful when you regularly move many files or want a dedicated transfer workflow.

Does hosting include SSL?

HostKarle hosting plans include free auto-renewing Let’s Encrypt SSL. Enable it after the domain points to the account, then test the exact HTTPS version you plan to share.

{“@context”: “https://schema.org”, “@type”: “FAQPage”, “mainEntity”: [{“@type”: “Question”, “name”: “Can I host a website without buying a domain?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “Yes. You can upload a site to a temporary hosting address while you build it, but a custom domain is easier for customers to remember and for you to keep long term. Buy or connect the domain before launch so SSL, email and links use the final address.”}}, {“@type”: “Question”, “name”: “Is WordPress or HTML better for a first website?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “Choose WordPress if you want an admin dashboard, blog posts, pages or plugins without editing code for every change. Choose HTML if the site is small, already coded and mostly static. Both can be hosted through DirectAdmin; the installation path is different.”}}, {“@type”: “Question”, “name”: “How long does it take to host a website?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “Uploading a prepared HTML site or installing WordPress can take only a short setup session. The part you cannot fully control is DNS caching after changing nameservers, so allow time for the new destination to be seen by different networks before judging the launch.”}}, {“@type”: “Question”, “name”: “Do I need FTP to upload a website?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “No. DirectAdmin File Manager is enough for many small sites and ZIP uploads. FTP is useful when you regularly move many files or want a dedicated transfer workflow.”}}, {“@type”: “Question”, “name”: “Does hosting include SSL?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “HostKarle hosting plans include free auto-renewing Let’s Encrypt SSL. Enable it after the domain points to the account, then test the exact HTTPS version you plan to share.”}}]}
Samrat Ghosh

Samrat Ghosh writes hands-on guides about web hosting, WordPress, domains and email for Indian small businesses, students and freelancers - the practical documentation he wishes had existed when he set up his first website.

Share
Published by
Samrat Ghosh

Recent Posts

How to Move WordPress From Localhost to a Live Server

Learn how to move wordpress from localhost to live server: export XAMPP files and database,…

47 minutes ago

What Happens When a Domain Expires?

Learn what happens when a domain expires, how grace and redemption periods work, what recovery…

12 hours ago

Best HostLelo Alternatives for Indian Websites (2026)

Compare HostLelo alternatives for Indian websites on renewal price, panels, email, SSL, backups, UPI payments…

18 hours ago

Wix vs WordPress for Indian Small Businesses

Compare wix vs wordpress for Indian small businesses: 3-year rupee cost, beginner ease, UPI/Razorpay payments,…

1 day ago

How to Transfer a Domain to Another Registrar

Learn how to transfer domain to another registrar: check the 60-day rule, unlock it, use…

1 day ago

DirectAdmin Backup: How to Back Up and Restore Your Site

Learn how to create a directadmin backup, download it off-server, and restore website files, databases,…

2 days ago

This website uses cookies.