How Do I Use My Old Router as a Web Server?


Angela Bailey

If you have an old router lying around and you’re wondering what to do with it, why not repurpose it as a web server? With a few simple steps, you can turn your old router into a mini server and host your own website or experiment with web development. In this tutorial, we’ll guide you through the process of setting up your old router as a web server.

Step 1: Check Router Compatibility

Before we begin, make sure that your old router is compatible with the necessary software and has the required hardware capabilities. Some older routers may not support certain features or have limited memory and processing power, which can affect their performance as a web server. It’s always best to check the manufacturer’s specifications or consult online resources to ensure compatibility.

Step 2: Reset Your Router

If you’ve been using your old router for other purposes or it has been sitting unused for a while, it’s recommended to reset it to its factory default settings. This will ensure that any previous configurations or settings won’t interfere with setting up the web server. Look for a small reset button on the router and press it for about 10-15 seconds until the lights on the router blink.

Step 3: Connect Your Router

Connect your old router to your computer using an Ethernet cable. Make sure both devices are powered on and properly connected. You may need to disable Wi-Fi on your computer temporarily if it automatically connects to other networks.

Step 4: Access Router Settings

To configure your old router, you need to access its settings page. Open your preferred web browser and enter the default IP address of the router in the address bar.

Common IP addresses for routers include or 192.1.1. If you’re unsure about the IP address, you can find it in your computer’s network settings or refer to the router’s documentation.

Step 5: Configure Router as Web Server

Once you’ve accessed the router settings page, look for the section related to configuring the router as a web server. This section may vary depending on the router’s firmware and manufacturer. Enable the web server feature and specify a port number (e.g., port 80) for HTTP communication.


If your old router doesn’t have an option to enable the web server, you may need to install custom firmware on it. Popular firmware options include DD-WRT, OpenWrt, or Tomato. These custom firmware solutions provide extended features and allow you to set up your own web server.

Step 6: Set Up Port Forwarding

In order for external devices to access your web server, you need to set up port forwarding on your old router. This process typically involves specifying a public port (e., port 80) that will be forwarded to your local IP address where the web server is hosted.


If you’re using custom firmware, the steps for setting up port forwarding may vary. Refer to the documentation or online resources specific to your firmware for detailed instructions.

Step 7: Configure Firewall Settings

To ensure that your web server is accessible from outside your local network, configure any firewall settings on both your router and computer hosting the web server. Add exceptions or rules that allow incoming connections on the specified port (e., port 80).

Step 8: Host Your Website

With the router configured and port forwarding set up, you’re ready to host your website. Put your HTML, CSS, and JavaScript files in the appropriate directory on your computer’s hard drive. This directory is typically specified in the router settings page or can be a default location like /www or /public_html.

Step 9: Test Your Web Server

To test if your web server is up and running, open a web browser on a different device connected to a network outside of your local network. Enter your public IP address followed by the port number in the browser’s address bar (e., http://your_public_ip:80). If everything is set up correctly, you should see your website being served from your old router.


You’ve successfully repurposed your old router as a web server! Now you can experiment with hosting websites, learning web development, or even creating personal projects. Remember to keep your router’s firmware updated and apply necessary security measures to protect yourself from potential vulnerabilities.

This was just an overview of how to use an old router as a web server. Depending on the specific model and firmware, there may be additional steps or variations in the process. Consult the manufacturer’s documentation or online resources for detailed instructions tailored to your router.

Discord Server - Web Server - Private Server - DNS Server - Object-Oriented Programming - Scripting - Data Types - Data Structures

Privacy Policy