{"id":6915,"date":"2022-05-25T08:08:59","date_gmt":"2022-05-25T08:08:59","guid":{"rendered":"https:\/\/wpx.net\/kb\/?post_type=ht_kb&#038;p=6915"},"modified":"2025-07-18T09:56:43","modified_gmt":"2025-07-18T09:56:43","slug":"where-do-i-upload-my-website-files","status":"publish","type":"ht_kb","link":"https:\/\/wpx.net\/kb\/where-do-i-upload-my-website-files\/","title":{"rendered":"Where do I upload my website&#8217;s files?"},"content":{"rendered":"\n<p>If you&#8217;re setting up your website and need to upload files, this guide will walk you through where to store them, how to access the correct directories, and the best methods for uploading files to your hosting panel.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">Beware that we do not provide SSH for security reasons. The main reason is vulnerability; if your login credentials are compromised, all your websites could be affected from the root directory of your account. Instead, we recommend using FTP, a safer alternative that restricts access to individual websites rather than your entire hosting account.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is the name of the main folder for my website files?<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Understanding Your Main Website Folder<\/h3>\n\n\n\n<p>Every website you add to your WPX hosting account has its own dedicated folder where all its internal files are stored. This folder is called <strong>public_html<\/strong>, which serves as the root directory for your website\u2019s files.<\/p>\n\n\n\n<p>Each site has its own separate <strong>public_html<\/strong> folder, keeping your file structure organized and easy to manage.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How can I upload files to public_html?<\/h3>\n\n\n\n<p>You can upload files to your website\u2019s root directory using one of the following methods:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/wpx.net\/kb\/how-can-i-upload-files-to-file-manager\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/wpx.net\/kb\/how-can-i-upload-files-to-file-manager\/\" rel=\"noreferrer noopener\"><strong>WPX File Manager<\/strong>:<\/a> A built-in tool in your WPX hosting panel for easy file uploads.<\/li>\n\n\n\n<li><strong><a href=\"https:\/\/wpx.net\/kb\/how-can-i-use-filezilla\/\" target=\"_blank\" rel=\"noreferrer noopener\">FTP\/SFTP Connection<\/a><\/strong>: Use an FTP client to transfer files securely.<\/li>\n<\/ul>\n\n\n\n<p>These methods allow you to upload various types of files, whether they\u2019re verification files, custom scripts, or anything needed for your website development.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Directory Structure for Main Domains vs. Subdomains<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Your <strong>Main Website<\/strong> files are stored directly in the <strong>public_html<\/strong> folder.<\/li>\n\n\n\n<li>Any <strong>Subdomains<\/strong> or <strong>Additional Sites<\/strong> are stored inside the <code>\/domains<\/code> directory, each having its own <strong>public_html<\/strong> folder for its files.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">Your Main website does&nbsp;<strong>not&nbsp;<\/strong>receive any additional privileges over Sub-sites. Even if the main site is inactive, your additional websites will still function independently.<\/p>\n\n\n\n<p>In the following screenshot, you can see how these folders are organized:<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a0362f89b6ef&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a0362f89b6ef\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1202\" height=\"422\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/02\/WPX-FM-3-3.png\" alt=\"\" class=\"wp-image-1360\" srcset=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/02\/WPX-FM-3-3.png 1202w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/02\/WPX-FM-3-3-300x105.png 300w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/02\/WPX-FM-3-3-1024x360.png 1024w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/02\/WPX-FM-3-3-768x270.png 768w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/02\/WPX-FM-3-3-50x18.png 50w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/02\/WPX-FM-3-3-60x21.png 60w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/02\/WPX-FM-3-3-100x35.png 100w\" sizes=\"auto, (max-width: 1202px) 100vw, 1202px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Where can I upload my images?<\/h2>\n\n\n\n<p>You can upload images directly through the Media Editor in WordPress by logging into your WordPress site.<\/p>\n\n\n\n<p>After you log in to your site, you navigate through <strong>Media<\/strong> <strong>Library<\/strong> (1) and <strong>Add New<\/strong> (2) to select the image you want to upload:<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a0362f89bd6c&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a0362f89bd6c\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"737\" height=\"249\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/05\/\u043c\u0435\u0434\u0438\u044f.png\" alt=\"\" class=\"wp-image-10957\" srcset=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/05\/\u043c\u0435\u0434\u0438\u044f.png 737w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/05\/\u043c\u0435\u0434\u0438\u044f-300x101.png 300w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/05\/\u043c\u0435\u0434\u0438\u044f-50x17.png 50w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/05\/\u043c\u0435\u0434\u0438\u044f-60x20.png 60w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/05\/\u043c\u0435\u0434\u0438\u044f-100x34.png 100w\" sizes=\"auto, (max-width: 737px) 100vw, 737px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">To upload an image through the Media Library, you can either drag and drop it or directly select it by browsing your computer.<\/p>\n\n\n\n<p>When you upload images through WordPress, they are automatically stored in the following directory:<\/p>\n\n\n\n<p><strong>public_html\/wp-content\/uploads<\/strong><\/p>\n\n\n\n<p>For general file uploads, we recommend using <strong>File Manager<\/strong> for easy access to your public_html folder, while the <strong>Media Library<\/strong> is ideal for managing images.<\/p>\n\n\n\n<p>Inside the <strong>public_html<\/strong> folder, you\u2019ll also find important WordPress files such as <code>wp-config.php<\/code> and <code>.htaccess<\/code>, which you can edit or modify if needed. You can also create new files, like <code>robots.txt<\/code>, for SEO and sitemap configuration.<\/p>\n\n\n\n<p>If you get stuck with anything discussed on this page, please get in touch with the WPX Support Team via live chat (use the bottom right-hand widget) and they will respond and help within 30 seconds or less.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re setting up your website and need to upload files, this guide will walk you through where to store them, how to access the correct directories, and the best methods for uploading files to your hosting panel. What is the name of the main folder for my website files?&#8230;<\/p>\n","protected":false},"author":2,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_editorskit_title_hidden":false,"_editorskit_reading_time":2,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","inline_featured_image":false,"footnotes":""},"ht-kb-category":[54],"ht-kb-tag":[],"class_list":["post-6915","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-hosting-panel"],"_links":{"self":[{"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/ht-kb\/6915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/comments?post=6915"}],"version-history":[{"count":12,"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/ht-kb\/6915\/revisions"}],"predecessor-version":[{"id":13547,"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/ht-kb\/6915\/revisions\/13547"}],"wp:attachment":[{"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/media?parent=6915"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=6915"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=6915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}