The migration of a sub-website to a top-level website is completed.

Source: Internet
Author: User
It turns out that my http://sps.oceanstudio.net is actually a URL redirection, and the real website is the ingress. There is also a http://www.oceanstudio.net portal on this server. What I want to do is.
First, I thought about the problem. I found it could not work with stsadm.exe-O backup, because http://sps.forever.net.cn/oceanis a sub-network station and not a top-level network station. I am so worried. What should I do? Save the template, save the sub-website as a template, and save the content. Haha, there are 4.7 m. Fortunately, if the content exceeds 10 m, an error will occur. Create a top-level website http://www.oceanstudio.net/spsand find that the template is useless. How do I add a template to a top-level website? Run the following command: stsadm.exe-O addtemplate-filename oceanstudio. STP-title Marine Studio. After iisreset, everything will be fine.
Then, create a virtual host sps.oceanstudio.net in IIS and redirect the domain name to http://www.oceanstudio.net/sps. Hey. However, since the original sps.oceanstudio.net is a URL redirection in hichina, it may take some time to take effect.
However, there is also a problem here, that is, if the Sub-website is larger than 10 MB, then the sub-website will become a template, and how can we upgrade it to a top-level website?
You have time to record this operation for your reference.

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.