Host your web at home

จาก Wiki2

ข้ามไปที่: นำทาง, สืบค้น

ผม Host เว็บของผมกับบริษัท Web Hosting เพราะถูกกว่า แน่่นนอนกว่า และไม่เสียเวลา แต่เขียนเรื่องนี้ หรือค้นคว้าเรื่องนี้เพื่อความมัน และการศึกษาเท่านั้น ไม่แนะนำให้คุณทำตามหรอกนะครับ

เนื้อหา

Link ที่เกี่ยวข้อง

The main step

Here are the steps to follow to set up a website hosted entirely on your own Windows PC. First I'll present the general steps, then I'll break down the details for you:

1. Make sure you have cable modem, DSL or another high-speed connection. A dialup telephone modem is NOT good enough.

2. Get a DNS hostname for your home Internet connection.

3. Get a static local IP address for your computer within your home network.

4. Configure your router to correctly forward connections on port 80 (the HTTP port) to your web server. Even if you think you don't have a router, you probably do— many popular cable and DSL modems include wifi or wired Ethernet jacks for multiple computers, which means they contain a built-in router. If your ISP blocks port 80, choose an alternative port number and forward that (or get a better ISP that welcomes websites at home, like Speakeasy.Net).

5. Configure Windows Firewall to allow your web server to communicate on port 80.

6. Get Apache, a free, high-quality web server program. If you have Windows XP Professional, you also have the option of Microsoft Internet Information Server (IIS), which comes standard with Windows XP Professional. But that option only allows you to host one site. I recommend Apache.

7. Test your web server from your own computer.

8. Replace the default home page with your own web page. Now the site is your own!

9. Test your web server from a computer that is NOT on your home network to make sure you followed all of the steps correctly.


IP Address

  • เช็ค IP ของเครื่องคอมพิวเตอร์ Windows โดย Run ipconfig ใน dos

Firewall

  • อย่าลืม set Firewall ให้รับ visitor HTTP ที่ Port 80
  • Fix local IP address & Port forwarding & Virtual server setting in router
รับข้อมูลจาก "http://www.noklek.com/wiki2/index.php/Host_your_web_at_home"
เครื่องมือส่วนตัว