PDF download Download Article
An easy guide to transferring web files from your PC or Mac to a remote web host
PDF download Download Article

This wikiHow teaches you how to put online a website which you coded yourself. You can use an FTP program called FileZilla to do this, or you can use your website hosting service's control panel. Keep in mind that you will need to have both a website domain and website hosting before you can upload your website.

Easy Guide to Sharing Your Website Online

Create a new folder that links directly to your web server in both File Explorer (PC) and Finder (Mac). Once you create the folder, copy your web files to it to upload your site. If your web host offers uploads through their web-based control panel, you can upload changes to your website from anywhere.

Method 1
Method 1 of 4:

Using a Network Folder (Windows)

PDF download Download Article
  1. Before you can upload your website, you'll need to know your username, password, and website address for your hosting service's FTP server. This can usually be found in the "FTP" section of the hosting service's dashboard.
  2. Open the folder in which your website's files are stored, then click and drag your mouse across the files to highlight them and press Ctrl + C to copy them.
    • The website's files typically include an index file, a cascading style sheet (CSS) file, and an images folder.
    Advertisement
  3. You can connect to your website hosting service's FTP folder by doing the following:
    • Click the Computer tab.
    • Click Add a network location , then click Next twice.
    • Enter your hosting service's FTP address, then click Next .
    • Uncheck the "Log on anonymously" box, then enter your FTP username and click Next .
    • Enter a name for the network, click Next , and click Finish .
  4. Once the FTP folder opens, you'll be prompted to type in the password which was listed on your hosting service's FTP page.
  5. In the FTP folder, double-click the "public_html" (or "html", or "root") folder to open it.
  6. Click a blank space in the folder, then press Ctrl + V to paste the files into the folder.
  7. In your computer's web browser, go to your website's domain address. As long as your website's files have finished uploading to your website's FTP folder, your website should be live.
  8. Advertisement
Method 2
Method 2 of 4:

Using a Network Folder (Mac)

PDF download Download Article
  1. Before you can upload your website, you'll need to know your username, password, and website address for your hosting service's FTP server. This can usually be found in the "FTP" section of the hosting service's dashboard.
  2. Open the folder in which your website's files are stored, then click and drag your mouse across the files to highlight them and press ⌘ Command + C to copy them.
    • The website's files typically include an index file, a cascading style sheet (CSS) file, and an images folder.
  3. You can connect to your website hosting service's FTP folder by doing the following:
    • Click Go at the top of the screen.
    • Click Connect to Server... in the drop-down menu.
    • Type in your website's FTP address, then click Connect
    • Enter your website's FTP username and password when prompted.
  4. In the FTP folder, double-click the "public_html" (or "html", or "root") folder to open it.
  5. Click a blank space in the folder, then press ⌘ Command + V to paste the files into the folder.
  6. In your computer's web browser, go to your website's domain address. As long as your website's files have finished uploading to your website's FTP folder, your website should be live.
  7. Advertisement
Method 3
Method 3 of 4:

Using FileZilla

PDF download Download Article
  1. Before you can upload your website via FileZilla, you'll need to know your username, password, and website address for your hosting service's FTP server. This can usually be found in the "FTP" section of the hosting service's dashboard.
  2. It's in the top-left corner of the FileZilla window (Windows) or the screen (Mac). A drop-down menu will appear.
  3. You'll see this at the top of the drop-down menu. Doing so opens a new window.
  4. It's on the left side of the window. This will create a new site entry.
  5. When you see the "New Site" tag appear on the left side of the window, type in the name you want to use for the site and then press Enter .
  6. In the "Protocol" section at the top of the window, you should see "FTP - File Transfer Protocol" listed in the drop-down box. If not, click the drop-down box and then click FTP - File Transfer Protocol in the drop-down menu.
  7. In the "Host" text field, type in the website address that was listed on your hosting service's FTP page.
  8. It's in the middle of the window. A drop-down menu will appear.
  9. This option is in the drop-down menu. Selecting it prompts both a username text field and a password text field to appear.
  10. Type your website host's FTP username into the "User" text box, then type your website host's FTP password into the "Password" text box.
  11. It's at the bottom of the window. Doing so will prompt FileZilla to open your hosting service's FTP page.
    • You should see a list of the FTP page's files and folders appear in the lower-right pane of the FileZilla window.
  12. In the lower-left panel of the FileZilla window, navigate through the folders to find the folder in which your website's files are stored.
  13. Click the top website file, then hold down ⇧ Shift while clicking the bottom website file.
    • The website's files typically include an index file, a cascading style sheet (CSS) file, and an images folder.
  14. Click and drag the selected files from the left pane into the blank space in the right pane to do so. Your files will begin uploading.
    • Some websites may call their FTP folder something other than "public_html", so look for an "html" or "root" folder if you can't find the "public_html" one.
  15. In your computer's web browser, go to the web address that you typed into the "Host" text field in FileZilla. As long as your website's files have finished uploading to your website's FTP folder, your website should be live.
  16. Advertisement
Method 4
Method 4 of 4:

Using the Control Panel

PDF download Download Article
  1. Open the dashboard for the hosting service you use, then enter your email address (or username) and password if prompted.
    • Common examples of hosting services include GoDaddy and Hostinger.
  2. You'll usually find this option in the Dashboard section, though you may need to select your website's name first. [1]
  3. In the File Manager window, double-click the "public_html" folder to open it. This is the folder in which you'll store all of your website's files.
    • Some websites may call their FTP folder something other than "public_html", so look for an "html" or "root" folder if you can't find the "public_html" one.
  4. This button's location will vary, but is typically found at the top, bottom, or right side of the page.
  5. In your computer's file manager window, navigate to the folder in which your website's files are stored.
    • Depending on your hosting service's control panel, you may have to click Select Files or similar before your computer's File Explorer (Windows) or Finder (Mac) will open.
  6. Click and drag your mouse across the files you want to upload.
    • If you want to select all files from a specific location, click one file, then press either Ctrl + A (Windows) or ⌘ Command + A (Mac).
  7. It's in the bottom-right corner of the window. Doing so will add your files to your hosting service's page.
  8. If clicking Open adds the files to the upload queue but doesn't upload the files directly, click Upload below or above the files you uploaded to place them in the "public_html" folder.
  9. Each hosting service will have a slightly different way of assimilating your uploaded files, so you may be prompted to click through a setup process before you can finish uploading your files.
    • If your website's files are in a ZIP folder, you'll need to extract the ZIP folder inside of the "public_html" folder by selecting the ZIP folder and then right-clicking it and clicking the Extract or Unzip option in your hosting service's control panel.
  10. In your computer's web browser, go to your website's domain address. As long as your website's files have finished uploading to your website's FTP folder, your website should be live.
  11. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How can I delete a test web page?
    Community Answer
    Delete the source file from your preloaded FTP. If that doesn't work, then go to system 32 and move to the FTP file folder and search for the file you want to delete. Try to change the file type and then upload it. This will crash your older web page and you will get rid of it
  • Question
    How do I find a host for my webpage?
    Community Answer
    You can search for free website hosts online. There are many popular ones like GoDaddy, HostGator, or DreamHost.
  • Question
    Connection attempt failed with "EAI_AGAIN - Temporary failure in name resolution." What happened?
    Community Answer
    Your connection to your server was lost and you need to change something in the code and restart your router.
See more answers
Ask a Question
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      Expert Interview

      Thanks for reading our article! If you’d like to learn more about digital marketing, check out our in-depth interview with Anar Kazimov .

      About This Article

      Article Summary X

      1. Open FileZilla.
      2. Go to File > Site Manager .
      3. Create a new site.
      4. Enter a name for your site.
      5. Select FTP as the protocol.
      6. Enter your web server details.
      7. Click Connect .
      8. Navigate to your "public_html" or "html" directory.
      9. Drag your code from your computer to that directory.

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 432,410 times.

      Reader Success Stories

      • W. Jawdekar

        Jun 22, 2016

        "Steps are clearly specified in a user-friendly manner. I liked it because it's been pretty helpful and easy."
      Share your story

      Is this article up to date?

      Advertisement