Methods for resolving level two domain names under Windows Server 2008

Source: Internet
Author: User

Yesterday went to the customer to deploy the site, with the customer over there Windows Server 2008.

This article is mainly to summarize the problem point form.

Issue 1: The native database is SQL Server 2008R2, and the client side of the database is SQL Server 2005

This problem is not particularly good, especially if you cannot restore and attach the database to the past, because SQL 2005 is incompatible with the 2008 database.

First of all, let's solve this problem, we need to use the export (import) data of SQL SERVER, we choose to export the data here for demonstration (perfect compatibility).

First select the database to be exported, assuming the database on this computer, I want to import to the server up.

First select the source database, we choose here on the local database is not changed. User name password don't forget to fill out the next step.

Then select the target database, remember to create a new database on the server side, empty, for easy to export from the local to the server side.

Then the next step is done, the specific I will not be more demonstration.

Then you publish your website to the server.

First of all, I'm sure it's a copy of this machine's website to the server.

Then get rid of application.config or Web. config database connection string, after all, with the server, this step is a stroke.

The site is then created on the server.

First, log in to the server, then enter the IIS Admin interface and create a new Web site.

The physical path of the site is to fill in the site's disk address, I would like to say 3 points to be aware of the place.

1. Binding two level domain name, note that all the domain name port default is 80, so do not need to care about other port number, directly fill 80 can, if there are multiple domain names are also 80 ports, will not cause port conflicts. Such as:

2: For the Web site, to be converted into an application can be run up.

Such as:

3. The default document and application pool for the site must be set correctly.

The application pool is how much of your site is created based on the. NET framework, whether it's integration or classic, which is the right choice.

The default document is the home page, white a little, when others visit your domain name, must be first access to a file. This file is the default document (Home page).

The following 2 points is very important, completed the above steps, we can not use the domain name, we also have to resolve the domain name in the external network and intranet.

The first is to configure the intranet, we are using Windows SERVER.

First, go in with the DNSMGMT command.

Then, in the Forward lookup zone, select the already established first-level domain name.

See a lot of Notepad-like files, these are the establishment of the site's two-level domain name.

We create a new domain name, right-click First, and then create a new one.

appear as the interface, we just need to fill in the host on the line,

The host word is the two-level domain name abbreviation, note as long as the two-level domain name of the head on the line, such as

Test.abc.com then we just write test, then the IP address to fill in the intranet IP address is OK. Done.

The final step is also the most important step! is now complete the above steps, you still can only access the domain name in the intranet.

You want to find your domain name supplier, enter their website, set 2 level domain name, so that your level 2 domain name can be used in the public network, remember, remember!

Methods for resolving level two domain names under Windows Server 2008

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.