Once you finish writing the code and organizing the files that make up your website, you need to put it all online so people can find it. This article explains how to get your simple sample code online with little effort. Publishing a website is a complex topic because there are many ways to go about it. This article doesn't attempt to document all the possible methods. Instead, it explains the advantages and disadvantages of three approaches that are practical for beginners. Then it steps through one method that can work right away for many readers. To have more control over content and website appearance, most people choose to buy web hosting and a domain name:.
Table of contents
Lighthouse Studio can upload your survey to a web server Field Hosting Management to publish your questionnaire to the Web. Using Sawtooth Software Hosting Service. Sawtooth Software provides a convenient service for hosting your surveys, which for most users' licenses is free. When you click Field Hosting Management , a dialog appears prompting you for your hosting account information. Click "Create New Account" to create a new hosting account. Once you are approved and have an account, enter your email and password to link Lighthouse Studio with your hosting account. Once you click Save , the dialog changes:. To create a new hosting project click New Project. This will take you to the online hosting service where you specify the details of your project, including a project name, and set up a new server. Once the server is ready often takes a minute or two and you are notified via email when your project is ready you will see the project name in the Hosting Project drop down list.
Setting up a static website
In this article, we explain what web servers are, how web servers work, and why they are important. The term web server can refer to hardware or software, or both of them working together. At the most basic level, whenever a browser needs a file that is hosted on a web server, the browser requests the file via HTTP. When the request reaches the correct hardware web server, the software HTTP server accepts the request, finds the requested document, and sends it back to the browser, also through HTTP. If the server doesn't find the requested document, it returns a response instead.
Hosting your content in Azure Storage enables you to use serverless architectures that include Azure Functions and other Platform as a service PaaS services. Azure Storage static website hosting is a great option in cases where you don't require a web server to render content. App Service Static Web Apps is a great alternative to Azure Storage static website hosting and is also appropriate in cases where you don't require a web server to render content. If you need a web server to render content, you can use Azure App Service. The features described in this article are also available to accounts that have a hierarchical namespace. To enable static website hosting, select the name of your default file, and then optionally provide a path to a custom page. Add the files of your site to this container. For step-by-step guidance, see Host a static website in Azure Storage. Users can view site content from a browser by using the public URL of the website. See Find the website URL.