Can I Upload My Website Using Dreamweaver

In the eighth and terminal part of this series, acquire how to ready upward a remote site to publish a website.

Colorful, patterned square tiles float into the sky.


Annotation:
 The sample files include the complete set of Creative Deject Libraries and project files for this tutorial series. You can go along to build on your starting file in Part 1, or navigate to the relevant folder to use the starting file for each department.

Welcome to the eighth and final part of this article series on creating your first website. This tutorial shows you how to prepare a remote site in Dreamweaver. A remote site is commonly a web server on a remote computer that holds copies of your local files. Users admission the remote site when they view your pages in a browser.

This tutorial presents a very broad case of connecting to a remote server. Information technology contains troubleshooting hints, simply much depends on how your remote server is configured. When in doubt, consult your hosting visitor'southward help desk or your system administrator.

After yous create a website, the next footstep is to publish information technology by uploading the files to a remote server. This is where you shop your files for testing, production, collaboration, and publication (depending on your environment).

Earlier yous tin proceed, you must accept access to a remote web server—such as a hosting company'southward server, a server owned by the customer y'all're working for, or an intranet server within your company. Also, some Internet Service Providers (ISPs) provide access to free web space as part of your contract for internet connexion. If you lot don't accept admission to such a server, contact your Internet service provider, your client, your organization administrator, or one of the many hosting companies that provide web hosting packages. Some hosting packages are free, but commonly insert advertisements into your site. An advertisement-free bundle tin can cost equally little as a few dollars a month.

You also need to have a local site defined before you proceed. For more than information, see Function 1 of this tutorial series, Projection overview and site setup.

Annotation: For more than data about Dreamweaver sites, encounter Set a local version of your site in Dreamweaver Help.

Dreamweaver site management is based on the principle that your local files are an exact duplicate of your live site on the internet. So, index.html in your bayside folder becomes the front page of your remote site. If you already have a live website that yous don't want to overwrite, use your site's control panel to create a folder called bayside where you can upload the Bayside Beat files.

  1. In Dreamweaver, select Site > Manage Sites.
  2. In the Manage Sites dialog box, select the Bayside Responsive site.

    If you did not define the Bayside Responsive site, create a local binder for the site before you continue. For more than information, see Function ane of this tutorial serial, Project overview and site setup.

  3. Click the Edit icon at the lesser left of the Manage Sites dialog box (run into Effigy 1).

Clicking the Edit icon to change site settings

Figure 1. Click the Edit icon to change the site settings.

  1. In the Site Setup dialog box, click Servers to open the console where you add your server definitions (see Figure two).

The Servers panel in the Site Setup dialog box

Figure ii. The Servers panel in the Site Setup dialog box.

Dreamweaver allows you to set up upwardly multiple server definitions for both remote and testing servers. However, only i of each blazon can be active at any given time.

  1. Click the plus (+) push at the bottom left of the panel to add the remote server definition. This opens a new panel for yous to enter the server details (see Figure 3).

Entering server details into the remote server definition panel

Figure three. The console where yous enter the basic server details.

  1. In the Server Name text box, type a proper name for the server. This is used internally past Dreamweaver to identify the server, so you can choose whatever name you similar. For case, you lot might want to create a definition for a server where you upload files for a client's approval, and a dissimilar server for the alive site. If you have simply the ane server, call it Remote Server.
  2. From the popular-upward menu Connect using, select the method you want to use to connect to the server.

    The most common methods for connecting to a server on the Internet are FTP, SFTP, and FTP over SSL/TLS (also known as FTPS). Considering the initials of each method are and so similar, it's piece of cake to confuse them. If you aren't sure which to select, ask your hosting company or the server arrangement administrator. Your choice will be limited past whatever your remote server supports.

    When you lot accept made your choice, follow the instructions in the relevant section.

FTP stands for File Transfer Protocol. It's the nearly basic style of connecting to a remote server. It'due south less secure than the others, so you should use it merely if your remote server doesn't support SFTP or FTPS.

  1. Enter the server'due south FTP accost (for example, ftp.yourdomain.com) in the advisable field.
  2. The default port for FTP is 21. Modify the value in the Port field only if instructed to practise and so by the administrator of your remote server.
  3. Enter your username and password in the appropriate fields.
  4. Click Test to test your connection.

    If the connection fails, verify that you lot accept the right username and password. Passwords are commonly case-sensitive, so brand sure that Caps Lock is not turned on. If that doesn't solve the problem, consult the troubleshooting section further down this page.

  5. Dreamweaver automatically checks the Save Password check box. If deselect this check box, you'll exist prompted for your countersign each time Dreamweaver connects to the server.
  6. Fill in the details for Root Directory and Spider web URL as described farther down this folio.

SFTP stands for Secure File Transfer Protocol. It works the same way equally FTP, merely it uses an encrypted connection to the server, so is more secure. With SFTP, Dreamweaver offers the option of logging into the remote server using a username and password, or a private key file.

  1. Select SFTP from the Connect Using drop-down menu.
  2. Enter the server's FTP accost (for example, ftp.yourdomain.com) in the advisable field.
  3. The default port for SFTP is 22. Change the value in the Port field only if instructed to do so past the ambassador of your remote server.
  4. The default authentication method is to apply a username and password. Enter the values in the appropriate fields (see Effigy 4).

Connecting via SFTP with a username and password.

Figure iv. The normal manner to connect via SFTP is with a username and countersign.

  1. If you select the Private Key File radio push, the options change, as shown in Figure 5.

Connecting via SFTP with a private key file requires a username, identity file, and passphrase.

Figure v. At that place are different options for connection using a private key file.

If your server supports connection using a private central file, enter your username in the Username field, and so click the folder icon to the right of the Identity File field to browse for the local version of your private cardinal file.

Some servers likewise require a passphrase. If necessary, enter that in the appropriate field. Dreamweaver automatically selects the Salvage Passphrase check box. If you lot deselect it, yous'll be prompted for the passphrase each time Dreamweaver connects to the server.

  1. Click Exam to make certain you can connect successfully to the remote server.

    If connection fails, make sure you lot have spelled everything correctly. Passwords and passphrases are usually case-sensitive. Make sure Caps Lock is not turned on.

  2. Fill in the details for Root Directory and Web URL every bit described further downward this page.

FTPS is a newer, more than secure standard than SFTP. It connects to the remote server using the Secure Sockets Layer (SSL) or Transport Layer Security (TLS). Information technology offers the extra security of authenticating the server's credentials. In other words, it makes certain you're connecting to a known server past checking the server'due south security certificate.

  1. From the Connect using drop-down carte, select FTP over SSL/TLS. There are two options:
    • Implicit encryption: The server terminates the connection if it doesn't receive a security request.
    • Explicit encryption: If the server doesn't receive a security asking, information technology can choose to continue with an insecure transaction, or to finish/limit the connection. This connects on port 21.

Choosing either choice displays the form shown in Figure vi.

FTPS authenticates the server's security certificate.

Figure 6. FTPS also authenticates the server'due south security certificate.

  1. Enter the server's FTP accost (for example, ftp.yourdomain.com) in the appropriate field.
  2. Implicit encryption connects on port 990, whereas explicit encryption uses port 21. Modify the value in the Port field only if instructed to do so by the ambassador of your remote server.
  3. Enter your username and password in the appropriate fields.
  4. Choose the method of checking the server'due south security certificate from the Hallmark drop-down card. There are two options:
    • Trusted server: Apply this if the server's certificate is issued past a trusted certificate authorization.
    • None: Use this if the server has a self-signed document. Y'all're shown the certificate the first fourth dimension you connect. If you accept its credentials, the certificate is added to Dreamweaver'southward trusted sites certificate store.
  5. Click Test to exam your connection.

If the connection fails, verify that you lot have the correct username and password. Passwords are usually instance-sensitive, and so brand sure that Caps Lock is non turned on. If that doesn't solve the problem, consult the troubleshooting section further down this page.

  1. Dreamweaver automatically checks the Save Password check box. If deselect this cheque box, you lot'll exist prompted for your password each fourth dimension Dreamweaver connects to the server.
  2. Fill in the details for Root Directory and Spider web URL every bit described in the side by side department.

The value that y'all need to enter in Root Directory is where many people go wrong, and it's difficult to give precise instructions considering hosting companies and server administrators have different policies. The value of Root Directory should exist the path you need to enter after logging into your server to get to the folder where you want to install index.html.

If you want the Bayside Crush home page to be the front end page of your website, then this needs to be the path to the remote server's site root. On some servers, it's public_html. Others might use www, wwwroot, or even nothing at all. On my remote server, it needs to be /home/username/public_html. If in doubt, ask your hosting company or server administrator.

If you want the Bayside Beat home page to be in a subfolder called bayside, you need to enter the path to that folder. For example, on my server, information technology would exist /home/username/public_html/bayside_beat.

The Web URL field should contain the URL for the folder that you divers as the Root Directory. For example, http://www.example.com/ or http://www.instance.com/bayside/. Dreamweaver might have tried to gauge the correct value, merely it'south but a guess. Do not accept the default value without checking it carefully.

If yous're connecting by SFTP, your settings should look like to Figure seven.

SFTP settings for connecting to a remote server.

Figure 7. Settings for connecting to a remote server by SFTP.

In near circumstances, there'southward no need to change the advanced options for a server, just allow'due south accept a quick await at them earlier saving the server definition.

  1. Click the Advanced push at the superlative of the panel to display the advanced options (run across Figure 8).

Advanced server options dialog box

Figure 8. Advanced server options

  1. Maintain synchronization information is selected by default. This keeps track of when the files on your remote server were last updated, and allows you lot to use the Site Synchronization characteristic (see Synchronizing files in Dreamweaver Help).
  2. Automatically upload files to the server on Save should rarely, if ever, be used because information technology overwrites your live files. If you make a error, it'southward immediately displayed on your remote site for all the world to see.
  3. Enable file bank check-out is for employ in a team environs. Information technology allows just 1 person at a time to edit a page (meet Checking in and checking out files in Dreamweaver Help).
  4. Testing Server: These options apply only when defining a testing server for a website that uses a server-side technology, such equally PHP, ASP.NET, or ColdFusion.
  5. Click Save to register your server definition. This returns y'all to the Servers panel of the Site Setup dialog box, where your server definition is at present listed (see Figure 9).

Remote server registered in the Site Setup dialog box

Figure 9. The remote server is at present registered in the Site Setup dialog box.

Dreamweaver selects the Remote radio push automatically.

The icons at the bottom of the Servers console permit you to add together another server, or to delete, edit, or brand a re-create of the selected server definition. Making a re-create is useful if y'all need to change but a few details to connect to a different server.

Y'all can define multiple remote servers for a site, but y'all can connect to merely one at a fourth dimension by selecting its radio button in the Remote column.

  1. Click Save to shut the Site Setup dialog box, and and so click Washed to close the Manage Sites dialog box.

You can now upload your files from your local folder to the remote spider web server to make your pages publicly accessible.

  1. The quick way to upload all the files in the current site is to select the site's local root binder at the summit of the Files panel. Still, the Bayside Responsive site contains the text content in Microsoft Discussion and rich text format, as well as folders showing the site at each stage of development.

    Hold down the Ctrl key (Windows) or the Cmd fundamental (Mac), and select the post-obit folders and files:

    • images
    • js
    • styles
    • alphabetize.html
    • sights.html
  2. Click the Put Files (up arrow) icon in the Files console toolbar (see Figure 10).

The Put Files (up arrow) icon is selected in the Files panel toolbar.

Figure 10. Put files on the server.

  1. When Dreamweaver connects to the server, it displays a dialog box asking if you want to include dependent files in the transfer (run into Figure 11).

Dialog box asking if dependent files should be included in the transfer

The default is No. If yous exercise zip, the dialog box will close, and upload only those files that were selected in the Files console.

Some people notice the option to include dependent files convenient because information technology means that all files linked to those you take selected will be uploaded automatically. Think carefully earlier choosing Yes. You lot might be working on changes to your manner sheet, but you aren't ready to upload it yet. Clicking Yep will overwrite the style sheet on your live website if information technology's linked to any of the files yous're uploading.

If you select the check box labeled "Don't show me this message again," only the files selected in the Files console will be uploaded. You can change your listen subsequently past changing the options in the Site category of Dreamweaver Preferences.

  1. Open your remote site in a browser to make sure all of the files uploaded correctly. Congratulations, you have a site online!

    If the Bayside Responsive site isn't in that location, it almost certainly ways that the value for Root Directory in your remote server definition isn't pointing to the correct folder on the server.

If you need to edit the remote server settings, go to Site > Manage Sites, select the site from the listing, and so click the pencil icon to open the Site Setup dialog box. Then select Servers from the list on the left, select the server you desire to edit, and click the Edit existing server icon (come across Figure 12).

Troubleshoot the remote server setup by clicking the Edit existing Server (pencil) icon.

Figure 12. Editing an existing server definition

A web server can be configured in many ways. The following list provides information nearly some common issues you lot may see in setting up a remote server and how to resolve them:

  • The Dreamweaver FTP implementation may non work properly with certain proxy servers, multilevel firewalls, and other forms of indirect server access.
  • For the Dreamweaver FTP implementation, yous must connect to the remote system'south root binder. (In many applications, you tin can connect to whatsoever remote directory, and so navigate through the remote file system to find the directory y'all desire.) Be sure that you indicate the remote system'southward root folder (or the bayside subfolder) as the Root Directory. If you lot have problems connecting, and you've specified the host directory using a single slash (/), yous might need to specify a relative path from the directory yous are connecting to and the remote root binder. For instance, if the remote root folder is a higher-level directory, y'all may demand to utilise ../../ to specify the host directory.
  • File and binder names that contain spaces and special characters often cause issues when transferred to a remote site. Use underscores in place of spaces, and avoid special characters—colons (:), slashes (/), periods (.), and apostrophes (') are not permitted in file or folder names.
  • Many servers apply symbolic links (Unix), shortcuts (Windows), or aliases (Macintosh) to connect a binder on one role of the server's disk with another folder elsewhere. For example, the public_html subdirectory of your abode directory on the server may really exist a link to another office of the server entirely. In most cases, such aliases have no effect on your ability to connect to the appropriate folder or directory; nevertheless, if yous can connect to ane role of the server merely not to another, in that location may be an alias discrepancy.
  • If you run into an mistake bulletin such as "cannot put file," your remote folder may be out of space. For more information, wait at the FTP log.

In full general, when you encounter a problem with an FTP transfer, examine the FTP log by selecting Site > Advanced > FTP Log. For more information, see the all-encompassing tech note on FTP troubleshooting on the Adobe website.

mcraethoutencers.blogspot.com

Source: https://helpx.adobe.com/uk/dreamweaver/how-to/make-website-pt8-publish.html

0 Response to "Can I Upload My Website Using Dreamweaver"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel