WebMatrix Advanced Tutorial (9): How to deploy a Web site

Source: Internet
Author: User
Tags best hosting hosting
Guide: Microsoft WebMatrix is a free tool that you can use to create, customize, and publish Web sites on the Internet.





WebMatrix makes it easy for you to create sites. You can start with an open source application (such as WordPress, Joomla, DotNetNuke, or Orchard), and WebMatrix will handle the tasks of downloading, installing, and configuring these applications for you. Or you can use many of the built-in templates to write your own code that will help you get started quickly. Whatever your choice, WebMatrix provides everything you need to run your site, including Web servers, databases, and frameworks. By using the same stack that you will use on the web host on your development desktop, the process of getting your site online is easy and smooth.
You can download it from Http://web.ms/webmatrix.
Now you can learn to use WebMatrix, CSS, HTML, HTML5, ASP, SQL, database, and more, and how to write simple Web applications in just a few hours. The contents are as follows:
You've been through a long process! Create a simple HTML page from the very beginning, and then learn how to style it, and now that you have created a fully dynamic Web site, you can generate its web page with data from a database located on the server side. You can also edit, update, and delete records in a database to showcase a complete Web application scenario.



Although this application is very simple, it is the basis for a complete Web application built using razor in ASP. NET and WebMatrix. You must think it's simple!



Find a host Vendor



One final step, however, is to use a virtual host vendor to publish your application to the Internet.



WebMatrix comes with an integrated virtual hosting library that helps you find the best hosting provider for your site. If you go to the "Site" workspace in WebMatrix, you will see the following interface:






Register to Cytanium



For this section, I will use cytanium because they have a free hosting product for WebMatrix.



Visit their website and click on the intuitive "free Signup" button:






You will be asked to provide the very basic details of your free account, which is your name and email address where they can send you registration details.






Configure WebMatrix to publish to Cytanium



Click "Register" and wait a few moments before you get an email from noreply@cytanium.com. Scroll down in this email and find the section named "Webmatrix-webdeploy (preferred)"-it should look like this:






Now open the Sites workspace in WebMatrix and find the "Publish" button. Click the arrow at the bottom of it to expand it and select "Settings"






The Publish settings will open. Fill in the details you received from the email:






Click "Validate Connection" to make sure the settings are correct:









If they are correct, you should see the "Connected successfully" flag as shown in.



Click Save to exit the Publish Settings dialog box.



Now expand the "Publish" button again, this time select "Publish ..."









You'll see a "Publish Preview" screen where WebMatrix determines the changes on your site. Depending on what you've done recently, the settings you might see are different from here, especially when you're missing many file dependencies on your development PC on the server at the first release. If this is the case, don't worry. Just make sure you select the database box like this and click Continue.






The publication will begin, and you will see its progress on the yellow progress bar at the bottom of the WebMatrix window. When you are finished, you will see the progress is complete, and for your convenience you will get the URL of the completed site:









View your website online



Click the URL and you will see that the Web site is running on the Internet. You may also see the "Website Coming Soon" message because there are no default pages on your site. For now, select the URL and add/datamovies.cshtml at the end, as follows:



Http://laurencemoro02.webmatrix01.cytanium.com/dataMovies.cshtml



(where laurencemoro02.webmatrix01.cytanium.com is my site, you will have a different address)



The above is WebMatrix Advanced Tutorial (9): How to deploy the content of the site, more relevant content please pay attention to topic.alibabacloud.com (www.php.cn)!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.