How to enable your website to public(set up your web server at home)

As a so exciting dream, I would like set up my owned web site which can be
accessed anywhere nomatter from laptop/mobile phone or tablet. Current now I
have get my web site done locally on my Win7/Ubuntu12.04LTS. You know on
Microsoft‘s Windows, the Web Server software is IIS, but for Linux it is Apache.
Following I will introduce the several very important steps to make my local web
site public.

1. Make sure your web site can be accessed locally like this:

2. Setup the mapping relationship for the router‘s public network IP with
your LAN IP like this:

1) Access your router by the default IP address like 192.168.1.1(default
username and passworkd are both "admin")

2) Go to Transmit Rules(转发规则)->Virtual Server(虚拟服务器), and then set the
mapping relationship like below:

3. Access your web site by your local router‘s IP adderss(add:port number
when necessary)

1) From the default page when hitting 192.168.1.1, we can find the public IP
address like:






IP地址: 10.66.199.100 PPPoE按需连接

2) Access it like below:

4. Set up the mapping relationship with domain name and public IP addresss of
your web site

1) Apply your own domain name like 52p1p.com

2) Go to the domain name application proxy organization like:http://www.net.cn/

3) Login with your credential by clicking the link Member Login(会员登录)

4) Click the "Enter Into Member Center(进入会员中心)->Domain Name
Management(域名管理)->Domain Name Management->Check the checkbox of your owned
domain name->Click the Domain Name Resolution(域名解析) button

5) Add an A record or updating the existing one if have like below:

5. After the domain name‘s resolution take effect, we can accee our website
like below, congratulations!!!

Or

How to enable your website to public(set up your web server at
home)

时间: 2024-08-27 00:41:53

How to enable your website to public(set up your web server at home)的相关文章

Suse LAMP setup

This page will describe the steps you have to take to install LAMP, which stands for Linux Apache MariaDB PHP. This page will show you, how to set up a working Apache2 webserver, a configured MariaDB database server, to install PHP5, working with Apa

使用node-livereload自动刷新页面

1. 安装node 2. 安装python 3. 安装connect, serve-static和node-livereload (以下都假设命令行当前目录为e:\WebSite) e:\WebSite>npm install connect e:\WebSite>npm install serve-static e:\WebSite>npm install livereload 如果出现类似:MSB8036: The Windows SDK version 8.1 was not fo

DOCKER 1.9下创建apache镜像

一.环境 ubuntu 14.04 Docker version 1.9 二,准备工作 下载ubuntu image ---- docker pull ubuntu 新建apache目录  mkdir /apache 进入apache  cd /apache 新建文件 Dockerfile   touch Dockerfile 在apache 目录下 新建 index.html touch index.html vi index.html 输入: <head> <title>thi

Permanent Link: 101 ways to speed up your Magento e-commerce website

101 ways to speed up your Magento e-commerce website May 18, 2010/in E-commerce, Magento /by Guido Jansen As you probably know by now, Google is Using site speed in web search ranking. And I couldn’t agree more: speed is important for your site, and

网页性能优化指导--说得太好了,详细,具体,易理解,推荐看----Website Speed Optimization Guide for Google PageSpeed Rules

原链接地址:http://www.artzstudio.com/2016/07/website-speed-optimization-guide-for-google-pagespeed-rules/ Website Speed Optimization Guide for Google PageSpeed Rules By Dave Artz 1 week ago 6  534 0 Page Speed/Site speed is termed as the speed with which

【ASP.NET】website转webapplication

*以下操作都以VS2013为参考: #新建两种web项目 1.添加webapplication项目: 2.添加website项目: #比较两种web项目新建的webform页面的不同点: 1.文件目录结构: 从图中可以看出webapplication项目中的webform页面多了*.aspx.designer.cs文件: *.aspx.designer.cs文件:通常存放的是一些页面控件中的控件的配置信息,就是注册控件页面.这个东西是窗体设计器生成的代码文件,作用是对窗体上的控件执行初始化工作:

配置WebSite的IIS时遇到的问题与解决方法

1: Server Error Internet Information Services 7.5 Error Summary HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information Module IIS Web

(转)配置Website的IIS时遇到的问题与解决方法

在部署WebSite时遇到问题,刚好发现Eric Sun的文章,因此转载做个副本. 原文地址:http://www.cnblogs.com/mingmingruyuedlut/archive/2011/11/04/2235630.html 1: Server Error Internet Information Services 7.5 Error Summary HTTP Error 500.19 - Internal Server Error The requested page canno

10 Tips for Optimizing Your Website’s Speed

转自:http://sixrevisions.com/web-development/site-speed-performance/ Web page speed and performance is very important to the user experience. If your site is too slow, you’ll not only be losing visitors, but also potential customers. Search engines lik