Configuring a web server on windows xp


















To simulate a production environment, you should create a new IIS website with settings that are specific to the requirements of your application. In the Port box, type the port number on which you want to host the website for example, However, if you host this website on port 80, you'll need to stop the default website before you can access your site. In a production environment, you'll likely want to host your website on port 80 and configure a host header, together with matching DNS records.

In the Actions pane, under Edit Site , click Bindings. In the Application Pools pane, right-click the name of your application pool, and then click Basic Settings.

By default, the name of your application pool will match the name of your website for example, DemoSite. In the. The sample solution requires. This is not a requirement for Web Deploy in general. In order for your website to serve content, the application pool identity must have read permissions on the local folder that stores the content. In IIS 7. The application pool identity is not a real user account and does not show up on any lists of users or groups—instead, it's created dynamically when the application pool is started.

The next procedure uses this group-based approach. For more information on application pool identities in IIS 7. On the Security tab, click Edit , and then click Add. Click Locations. In the Locations dialog box, select the local server, and then click OK. Leave this unchanged and click OK. As a final task, you must grant the appropriate permissions to the non-administrator user whose credentials you'll use to deploy content. This user requires the permissions to deploy content remotely to your website.

In the Configure Web Deploy Publishing dialog box, to the right of the Select a user to give publishing permissions list, click the ellipsis button. In the Allow User dialog box, type the domain and user name of the account you want to use to deploy content, and then click OK. This operation performs two key functions in one step. First, it grants the user permission to modify the website remotely through the Web Management Service, according to the delegation rules you examined in the previous section.

Second, it grants the user full control of the source folder for the website, which allows the user to add, modify, and set permissions on the website content. If Windows Firewall is enabled on your web server, you'll need to create a new inbound rule to allow TCP traffic on port all outbound traffic is permitted by default in Windows Firewall. If you use a third-party firewall, you'll need to create rules to allow traffic. For third-party firewalls, please consult your product documentation.

Your web server should now be ready to accept remote deployments to the Web Deploy Handler through the Web Management Service. Before you attempt to deploy a web application to the server, you may want to check these key points:.

Previous Next. Skip to main content. This browser is no longer supported. Use the account you use to sign in to Visual Studio. Or, you can create an account for free at my. To download the files, select the platform and language you need, and then choose the Download button.

You can use central deployment or local deployment to install runtime library support for your Windows XP app. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode.

Is this page helpful? Please rate your experience Yes No. Any additional feedback? To do this type in you gateway in a browser and follow the steps there. Next go to the "Home Directory" tab, and select a local path.

This folder was automatically created upon installation. Now go to the "Documents" tab. Here you can set a default document to redirect to if no document is typed into the URL.

To add a new document to the list click "Add" and then type in the name you do not need the path but the file must be in the home directory that you previously chose. Next close the properties window and right click on "Default Web Site" again.

This time rollover "New" and then click "Virtual Directory" you don't have to do this but it is a good practice. Select a logical name for your virtual directory such as "root" or something similar as to avoid confusion. Now expand "Default Web Site" and you should see the name of your virtual directory.

Expand the directory and you should see all of the files in there that are in your "Home Directory". Relax, you are almost done. Now test to see if your site works.

If it works then good job. For reasons why it didn't work consult the Tips section. Include your email address to get a message when this question is answered. Website take a lot of bandwidth so please notice that it will most likely not be fast if you are at home. Helpful 0 Not Helpful 0. Your Permissions may be wrong. If you get error then run the permissions wizard again and read everything carefully.

Your site may have not worked because you chose port 80 which is often blocked. Just change the port in IIS and in your router. If Apache is open then close it and also close all processes of it in the Task Manager.

For more help Microsoft has great help for IIS so be sure to consult it as well. Visit the site make a username and read the In-site help. Submit a Tip All tip submissions are carefully reviewed before being published. Don't upload illegal or copyrighted files onto your web server.



0コメント

  • 1000 / 1000