Some problems and analysis about the construction of intranet version website

Source: Internet
Author: User

Not long ago with their own computer to build a server, just start to do the Web site only in the LAN access, and outside the LAN can not access my website, suddenly think of it is not the computer into a server, through the domain name of the host map can access it? Go online A check, and really have, peanut shell has long been out of the intranet version of the mapping tool. This makes me feel that the construction of the website should not be a problem. First in the peanut shell registered account, free to receive two domain names, (but still received 8 yuan, because the country's net action), the host must use the software, server, I use Apache and Tomcat, you can also use Phpstudy for one-click installation, Database (using MySQL), with these can almost build their own dynamic website. Use the DOS ipconfig to view your IP address and then open the peanut shell to map it, in fact the peanut shell will automatically detect your IP address. It can be accessed externally after the mapping is correct.

In terms of Web pages, I put WordPress into the site root directory, in their own computer can load normally, mobile phones and other computers hang, the style can not be loaded out, this how possible, try to make their own web page, incredibly can normal display, is the domain name Mapping error caused, however this is not possible, Again using Ipconfig to check, error-free, the correct address, is the server problem, because the server does not parse correctly, or the server does not have a CSS style sheet? First try to replace the server, will Ngix replaced Apache, the first time incredibly successful, full of thought is a server problem, Did not think again experiment and start up again, replace server again, finished, completely load not come out. Later thought to view server files, found that the entire WordPress only index.php files, the other files are gone, that is the style sheet does not load and browser will always redirect to localhost reasons, in the Internet to view data, with two possibilities, Apache permissions issues and database address problems, first look at the con under Apache Fig file, modify the permissions, however, no eggs, again check the MySQL address, did not find the WordPress file address Ah. What to do, or leave it to the master to solve it

This article from "The Remnant dream Shallow sings the whisper" the blog, declined reprint!

Some problems and analysis about the construction of intranet version website

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.