How to upload website to hosting is straightforward when you have a ready HTML site: place the files in your domain’s web root, then open the domain and test every page. This guide shows the browser-based DirectAdmin method and the FileZilla method, including the common index.html, ZIP-folder and missing-image mistakes.
You need four things:
First open the site folder on your computer. A simple static site often looks like this:
my-website/
├── index.html
├── about.html
├── css/
│ └── style.css
├── js/
│ └── script.js
└── images/
└── hero.jpg The key point is that the homepage file and its asset folders must be together. If index.html is inside another folder such as website-final/website-final/, you will need to upload the contents of the inner folder, not just the outer folder.
If you have not purchased hosting yet, HostKarle Basic is designed for one website and costs ₹99/mo when billed yearly at ₹1,188. It includes DirectAdmin, Softaculous, free auto-renewing Let’s Encrypt SSL and self-service website tools.
Why this matters: Uploading a broken local folder only makes the same broken site available online. A quick local check catches most missing-file problems first.
index.html on your computer in a browser.contact.html and images/team-photo.jpg..zip file. Keep the uncompressed copy as a backup.Look at the ZIP before uploading it. When you open it, you should be able to find index.html and folders such as css, js or images. If the ZIP contains only another folder, plan to move that folder’s contents into the web root after extraction.
Success looks like this: the local copy opens correctly, all visible assets load, and the ZIP contains the site’s files rather than a second ZIP or an unrelated parent folder.
Why this matters: DirectAdmin’s File Manager lets you upload a ZIP and extract it in the browser, so you do not need a separate desktop application for a small site.
domains/your-domain.example/public_html.index.html is present, download or rename it before replacing it. Do not delete files you do not recognise until you have confirmed what they do.public_html folder.index.html directly, move its contents into public_html. If it contains a second folder first, open that inner folder and move the files from there.images/hero.jpg must remain in an images folder beside index.html if the HTML refers to images/hero.jpg.Success looks like this: index.html sits directly inside the domain’s public_html, and the same level contains the css, js and images folders used by the page.
Why this matters: Uploading the individual files is useful when you are changing one page or when you want to see exactly what reaches the server.
public_html, click Upload.index.html and upload it.css, js, images, fonts and other required folders.public_html listing and confirm that index.html is not inside a newly created project folder.For a one-off upload, the ZIP-and-extract method is usually easier because it preserves the folder structure. Individual uploads are convenient for a small change, such as replacing about.html or one image.
Success looks like this: opening your domain shows the newly uploaded homepage, and the File Manager shows index.html plus its asset folders directly inside the correct public_html.
Why this matters: FileZilla is practical when the site contains many files or when you want to upload a whole folder by dragging it to the server.
FileZilla’s official quick guide explains that the local files appear on the left and remote server files on the right. It also documents drag-and-drop uploads and the default FTP and SFTP ports.
public_html directory. With a standard DirectAdmin layout, this is under domains/your-domain.example/public_html.index.html, and drag them into the remote public_html folder. Do not drag the outer project folder if that would create public_html/my-website/index.html.If FileZilla reports too many connections, open the Site Manager’s Transfer Settings and limit simultaneous connections, as described in the official guide. If a file fails, retry it and confirm that the remote path is still the domain’s public_html.
Success looks like this: the transfer queue has no failed files, and the remote public_html contains index.html with the same folders and filenames as your local site.
For a full explanation of the hosting choices behind this process, read how to host a website step by step. If you are moving an existing WordPress site rather than uploading a new HTML folder, use the separate WordPress migration guide.
Why this matters: The server can only show the homepage automatically when its default file is in the domain’s document root.
Your main page should normally be named index.html for a static HTML site. It must sit directly in the domain’s web root:
public_html/
├── index.html ← homepage
├── about.html
├── css/
├── js/
└── images/ This layout will not work as the homepage if the file is buried here:
public_html/my-website/index.html In that case, either move everything inside my-website up one level or visit the site at the matching subdirectory URL. Moving the contents is usually the right choice for the main domain.
Also check the spelling and capitalisation of every path. Images/logo.png, images/logo.png and images/Logo.png may be different paths on a hosting server. An image that opens locally but not online usually has a wrong relative path, a mismatched filename or was not uploaded.
Success looks like this: visiting the domain opens the intended homepage instead of a directory listing, welcome page or nested project folder.
Why this matters: Testing the HTTPS version checks both the uploaded files and the domain’s secure connection.
www version if you use both.https://your-domain.example in a private browser window.www and www versions if your site uses both.HostKarle shared hosting includes free auto-renewing Let’s Encrypt SSL. DirectAdmin’s ACME documentation explains that certificates can be issued and renewed automatically once the domain is correctly configured.
Success looks like this: the site opens at https://your-domain.example, the browser shows a valid connection, and the main page has no missing assets.
Use this table to identify the mistake before uploading the site again.
| What you see | Likely cause | Fix |
|---|---|---|
| The hosting welcome page still appears | The old placeholder index.html is still being served, or your files are in the wrong folder | Check the active domain’s public_html; rename the placeholder after saving a copy; ensure your index.html is at the root. |
| A 403 Forbidden page appears | There is no usable index file, the domain points to another folder, or the request is not reaching the expected site | Confirm the document root and the exact spelling of index.html, then test the domain again. |
| The page is blank or shows an old version | The browser is using a cached copy, or the new file was uploaded to another directory | Open a private window, hard-refresh, and verify the remote path and file modification time. |
| The HTML loads but images are broken | The image folder was not uploaded, or the path uses different capitalisation | Compare the src path in the HTML with the remote filename and folder structure. |
| CSS or JavaScript does not work | The asset path starts from the wrong folder or contains spaces and capital letters that do not match | Inspect the browser’s Network tab and correct the href or src path. |
| The ZIP extracted into an extra folder | The ZIP contained the project folder itself | Move the contents of the inner folder into the domain’s public_html, keeping index.html at the top level. |
| FileZilla shows failed transfers | The connection details, remote folder or transfer queue needs attention | Recheck the FTP details, reconnect, retry failed files and wait for the queue to finish. |
| HTTPS shows a certificate warning | SSL is not active for the domain yet, or DNS still points elsewhere | Confirm DNS and the DirectAdmin SSL certificate status, then test the HTTPS URL again. |
Do not fix a missing image by changing the HTML to a random external image URL. Upload the image with your site and use the correct relative path. This keeps the page’s assets under your control and makes future backups simpler.
Before sharing the domain, confirm all of these points:
index.html is directly inside the correct domain’s public_html.www and non-www versions behave as intended.Upload the website files to the domain’s public_html folder. In a standard DirectAdmin account, the full path is usually domains/your-domain.example/public_html; your index.html should sit directly inside it.
The most common causes are an index.html inside an extra folder, an old placeholder file, the wrong domain folder or a browser cache. Check the remote folder structure first, then open the HTTPS URL in a private window.
Yes. Upload the ZIP to the correct public_html, extract it there and move the extracted contents up if index.html is inside an extra folder. Keep the original ZIP on your computer as a backup; it does not need to stay in the public folder after extraction.
Use DirectAdmin File Manager for a small one-time upload or a ZIP-and-extract workflow. Use FileZilla when the site contains many files or you expect to upload updates regularly; in both cases, the destination is the same domain public_html.
Point the domain to the hosting account, then enable or request the domain’s Let’s Encrypt certificate in DirectAdmin. Once the certificate is active, test the https:// address and update any hard-coded http:// asset links in your HTML.
Compare zoho mail alternatives for Indian businesses by rupee cost, IMAP access and mailbox limits,…
Compare Wix alternatives for Indian small businesses: see 3-year rupee costs, WordPress hosting, migration limits,…
Titan email price in India explained with mailbox costs, features, team totals and a comparison…
HostKarle vs Bluehost compares Indian shared hosting prices, renewal bills, email, SSL, backups, panels and…
Learn how to write blog in hindi with WordPress, Hindi typing tools, domain and hosting…
Compare Google Workspace alternatives in India by yearly rupee cost, email features and migration effort…
This website uses cookies.