{"id":3223,"date":"2025-08-14T22:23:04","date_gmt":"2025-08-14T22:23:04","guid":{"rendered":"https:\/\/telahosting.com\/manual\/?p=3223"},"modified":"2025-08-14T22:23:04","modified_gmt":"2025-08-14T22:23:04","slug":"how-to-upload-a-static-website-to-directadmin-via-file-manager","status":"publish","type":"post","link":"https:\/\/telahosting.com\/manual\/how-to-upload-a-static-website-to-directadmin-via-file-manager\/","title":{"rendered":"How to Upload a Static Website to DirectAdmin via File Manager"},"content":{"rendered":"<p><img data-dominant-color=\"606778\" data-has-transparency=\"false\" style=\"--dominant-color: #606778;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3224 not-transparent\" src=\"https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/08\/How-to-Upload-a-Static-Website-to-DirectAdmin-via-File-Manager-711x400.avif\" alt=\"How to Upload a Static Website to DirectAdmin via File Manager\" width=\"711\" height=\"400\" srcset=\"https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/08\/How-to-Upload-a-Static-Website-to-DirectAdmin-via-File-Manager-711x400.avif 711w, https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/08\/How-to-Upload-a-Static-Website-to-DirectAdmin-via-File-Manager-768x432.avif 768w, https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/08\/How-to-Upload-a-Static-Website-to-DirectAdmin-via-File-Manager.avif 1366w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/p>\n<p>This guide provides detailed instructions for uploading a static website (HTML, CSS, JavaScript, and other static files) to DirectAdmin using File Manager, covering main domains, subdomains, and subdirectories.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title ez-toc-toggle\" style=\"cursor:pointer\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/telahosting.com\/manual\/how-to-upload-a-static-website-to-directadmin-via-file-manager\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/telahosting.com\/manual\/how-to-upload-a-static-website-to-directadmin-via-file-manager\/#Step_1_Log_In_to_DirectAdmin\" >Step 1: Log In to DirectAdmin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/telahosting.com\/manual\/how-to-upload-a-static-website-to-directadmin-via-file-manager\/#Step_2_Access_the_File_Manager\" >Step 2: Access the File Manager<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/telahosting.com\/manual\/how-to-upload-a-static-website-to-directadmin-via-file-manager\/#Step_3_Set_Up_and_Navigate_to_the_Appropriate_Directory\" >Step 3: Set Up and Navigate to the Appropriate Directory<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/telahosting.com\/manual\/how-to-upload-a-static-website-to-directadmin-via-file-manager\/#Step_4_Upload_Your_Website_Files\" >Step 4: Upload Your Website Files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/telahosting.com\/manual\/how-to-upload-a-static-website-to-directadmin-via-file-manager\/#Step_5_Configure_DomainSubdomain_Settings_If_Needed\" >Step 5: Configure Domain\/Subdomain Settings (If Needed)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/telahosting.com\/manual\/how-to-upload-a-static-website-to-directadmin-via-file-manager\/#Step_6_Verify_and_Test_Your_Website\" >Step 6: Verify and Test Your Website<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/telahosting.com\/manual\/how-to-upload-a-static-website-to-directadmin-via-file-manager\/#Additional_Tips\" >Additional Tips<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>A hosting account with DirectAdmin access, including login credentials (username and password).<\/li>\n<li>Static website files prepared on your local computer, organized in a folder with an <code>index.html<\/code> file as the homepage. Validate your HTML code using an online validator to check for errors.<\/li>\n<li>Compress files into a ZIP archive for faster uploads if you have many files.<\/li>\n<li>A web browser to access DirectAdmin.<\/li>\n<li>For subdomains or subdirectories, ensure they are set up in DirectAdmin (see Step 3 for details).<\/li>\n<\/ul>\n<p><strong>Note:<\/strong> File Manager is suitable for small to medium uploads. For large sites, consider using an FTP client like FileZilla for efficiency.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_1_Log_In_to_DirectAdmin\"><\/span>Step 1: Log In to DirectAdmin<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>Open your web browser and navigate to your DirectAdmin login URL (e.g., <code>https:\/\/yourdomain.com:2222<\/code> or <code>https:\/\/yourserverip:2222<\/code>).<\/li>\n<li>Enter your DirectAdmin username and password.<\/li>\n<li>Click &#8220;Login&#8221; to access the DirectAdmin dashboard.<\/li>\n<li>You can also <a href=\"https:\/\/telahosting.com\/manual\/manual\/how-to-access-your-directadmin-panel\/\" target=\"_blank\" rel=\"noopener\">login through your telaHosting&#8217;c client area<\/a>.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Step_2_Access_the_File_Manager\"><\/span>Step 2: Access the File Manager<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>In the DirectAdmin dashboard, locate the &#8220;System Info &amp; Files&#8221; section.<\/li>\n<li>Click the &#8220;File Manager&#8221; icon to open the File Manager interface.<\/li>\n<li>The File Manager will open, typically showing your home directory.<\/li>\n<\/ul>\n<p><strong>Tip:<\/strong> To view hidden files (e.g., <code>.htaccess<\/code>), check the File Manager settings or ensure your hosting provider has enabled this option.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_3_Set_Up_and_Navigate_to_the_Appropriate_Directory\"><\/span>Step 3: Set Up and Navigate to the Appropriate Directory<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong>For Main Domain:<\/strong>\n<ul>\n<li>Navigate to the <code>public_html<\/code> folder in File Manager, typically found under <code>\/domains\/yourdomain.com\/public_html<\/code>.<\/li>\n<li>Double-click to open it. This is where your main website files will reside (e.g., <code>https:\/\/yourdomain.com<\/code>).<\/li>\n<\/ul>\n<\/li>\n<li><strong>For Subdomain:<\/strong>\n<ul>\n<li>First, ensure the subdomain is created:\n<ul>\n<li>In the DirectAdmin dashboard, go to &#8220;Account Manager&#8221; and click &#8220;Subdomain Management.&#8221;<\/li>\n<li>Enter the subdomain name (e.g., <code>sub<\/code> for <code>sub.yourdomain.com<\/code>).<\/li>\n<li>The document root will typically be set to <code>\/domains\/yourdomain.com\/public_html\/subdomain_folder<\/code> or a similar path. Confirm or adjust as needed.<\/li>\n<li>Click &#8220;Create&#8221; to set up the subdomain and its folder.<\/li>\n<\/ul>\n<\/li>\n<li>In File Manager, navigate to the subdomain\u2019s folder (e.g., <code>\/domains\/yourdomain.com\/public_html\/subdomain_folder<\/code>).<\/li>\n<li>Double-click to open it.<\/li>\n<\/ul>\n<\/li>\n<li><strong>For Subdirectory:<\/strong>\n<ul>\n<li>Decide the subdirectory path (e.g., <code>public_html\/blog<\/code> for <code>yourdomain.com\/blog<\/code>).<\/li>\n<li>In File Manager, navigate to <code>public_html<\/code> (or the parent directory).<\/li>\n<li>Click the &#8220;+ Folder&#8221; or &#8220;New&#8221; button in the top menu, enter the folder name (e.g., <code>blog<\/code>), and create it.<\/li>\n<li>Double-click the new folder to open it.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong>Note:<\/strong> Subdomains may require DNS propagation (up to 24 hours), but files can be uploaded immediately. Subdirectories are accessible instantly upon creation.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_4_Upload_Your_Website_Files\"><\/span>Step 4: Upload Your Website Files<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>In File Manager, navigate to the desired directory (<code>public_html<\/code> for main domain, subdomain folder, or subdirectory).<\/li>\n<li>Click the &#8220;Upload&#8221; or &#8220;Upload Files&#8221; button, typically located at the bottom or top of the File Manager interface.<\/li>\n<li>In the upload interface, drag and drop your files from your local computer, or click to browse and select files.<\/li>\n<li>If uploading a ZIP file:\n<ul>\n<li>Upload the ZIP archive.<\/li>\n<li>Return to the directory, right-click the ZIP file, and select &#8220;Extract&#8221; (or use the &#8220;Extract&#8221; option in the top menu).<\/li>\n<li>Confirm the extraction path (usually the current directory) and extract the files.<\/li>\n<\/ul>\n<\/li>\n<li>Click &#8220;Upload&#8221; to start the process. Wait for the upload to complete, indicated by a progress bar or confirmation message.<\/li>\n<\/ul>\n<p><strong>Tip:<\/strong> Ensure the <code>index.html<\/code> file is in the root of the target directory (e.g., <code>public_html<\/code> for main domain, <code>public_html\/subdomain_folder<\/code> for subdomain, or <code>public_html\/blog<\/code> for subdirectory). You can upload multiple files simultaneously.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_5_Configure_DomainSubdomain_Settings_If_Needed\"><\/span>Step 5: Configure Domain\/Subdomain Settings (If Needed)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong>For Subdomains:<\/strong>\n<ul>\n<li>Verify the subdomain setup in DirectAdmin\u2019s &#8220;Subdomain Management&#8221; section.<\/li>\n<li>Ensure the document root matches the folder where you uploaded files (e.g., <code>\/domains\/yourdomain.com\/public_html\/subdomain_folder<\/code>).<\/li>\n<li>Save any changes if needed.<\/li>\n<\/ul>\n<\/li>\n<li><strong>For Subdirectories:<\/strong>\n<ul>\n<li>No additional configuration is typically required unless using custom URL rewriting (e.g., via <code>.htaccess<\/code>).<\/li>\n<\/ul>\n<\/li>\n<li>These steps ensure your website points to the correct directory.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Step_6_Verify_and_Test_Your_Website\"><\/span>Step 6: Verify and Test Your Website<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>Open a new browser tab and visit the appropriate URL:\n<ul>\n<li>Main domain: <code>https:\/\/yourdomain.com<\/code><\/li>\n<li>Subdomain: <code>https:\/\/sub.yourdomain.com<\/code><\/li>\n<li>Subdirectory: <code>https:\/\/yourdomain.com\/subdirectory<\/code> (e.g., <code>yourdomain.com\/blog<\/code>)<\/li>\n<\/ul>\n<\/li>\n<li>Your static website should load. If it doesn\u2019t, troubleshoot:\n<ul>\n<li>Verify file permissions (644 for files, 755 for directories\u2014right-click in File Manager and select &#8220;Change Permissions&#8221;).<\/li>\n<li>Ensure <code>index.html<\/code> is present and correctly named (case-sensitive).<\/li>\n<li>Clear browser cache or use incognito mode.<\/li>\n<li>For subdomains, wait for DNS propagation if recently created.<\/li>\n<\/ul>\n<\/li>\n<li>Check server error logs in DirectAdmin (under &#8220;Site Summary \/ Statistics \/ Logs&#8221;) for debugging if issues persist.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Additional_Tips\"><\/span>Additional Tips<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong>Security:<\/strong> Remove sensitive files (e.g., ZIP archives) from public directories after extraction. Use DirectAdmin\u2019s &#8220;Protected Directories&#8221; for restricted access.<\/li>\n<li><strong>Updates:<\/strong> To update files, re-upload only the changed files to the same directory.<\/li>\n<li><strong>File Organization:<\/strong> Maintain a clear folder structure to avoid conflicts (e.g., separate subdomains and subdirectories).<\/li>\n<li><strong>Alternatives:<\/strong> For frequent or large uploads, consider FTP for faster transfers.<\/li>\n<li>Contact your hosting provider for account-specific support if needed.<\/li>\n<\/ul>\n<p>This guide ensures your static website is successfully uploaded to your main domain, subdomain, or subdirectory via DirectAdmin\u2019s File Manager.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide provides detailed instructions for uploading a static website (HTML, CSS, JavaScript, and other static files) to DirectAdmin using File Manager, covering main domains, subdomains, and subdirectories. Prerequisites A hosting account with DirectAdmin access, including login credentials (username and password). Static website files prepared on your local computer, organized in a folder with an&#8230;<\/p>\n","protected":false},"author":1,"featured_media":3224,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[33,21,28],"tags":[54,67,69],"class_list":["post-3223","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-directadmin","category-hosting","category-website-management","tag-directadmin","tag-ftp","tag-website"],"_links":{"self":[{"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/posts\/3223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/comments?post=3223"}],"version-history":[{"count":2,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/posts\/3223\/revisions"}],"predecessor-version":[{"id":3226,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/posts\/3223\/revisions\/3226"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/media\/3224"}],"wp:attachment":[{"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/media?parent=3223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/categories?post=3223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/tags?post=3223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}