Skip to content Skip to sidebar Skip to footer

3 Ways to Create a Web Server on Windows (Local / Offline)

Today, a web server is one of the most needed hardware and software. This is due to the development of technology that continues to support the increasing use of the website.

The reason is, the function of the internet which contains all the ins and outs of information can be accessed very easily and freely. In other words, a web server that has the task of responding to all user requests or users is really very much in control of a website page.

When the user provides communication in the form of a request, this is where the important role of a web server is in processing all requests received. The web server can centrally control all kinds of files such as text, audio, video, images, files and so on in a web page.

Therefore, the web server is very much in control of a website in processing all requests given by users. Then how to create a web server on Windows? This article will explain about 3 ways to create a web server on Windows. Check out the following explanation.

3 Ways to Create a Web Server on Windows Locally or Offline

In essence, the request submitted by the user will then be processed by the web server and will be sent back in the form of a response to the user very quickly. The response from the web server itself is also called HTTP or HTTPS which functions as a protocol for every communication that occurs.

In recent years, the market for using web servers is highly sought after by many people. One of the most popular web servers is Apache. With this increase, various types of web server software are also increasing. On this occasion, I will discuss how to create a web server on Windows using XAMPP, IIS, WAMP which can be used to create websites offline.

A. Using XAMPP

XAMPP is one of the software that is quite popular on various computer operating systems. This free software is very useful for users who want to create websites locally or offline.

As it stands, XAMPP is X (four operating systems: Windows, Linux, Mac OS, and Solaris), Apache, MySQL, PHP, and Perl. XAMPP is also one of the software that has the best interface and is quite easy to use.

1. The first step is please Download XAMPP following link: https://www.apachefriends.org/download.html

1 - download

2. Next install the XAMPP application on your device.

3. After the application is installed on the laptop, please open XAMPP > then please start Apache and MySQL.

3 - start apache and MySQL

4. If both succeed start, then Apache and MySQL text will be green as follows.

4 - successful start

5. Next please open browser You > then go to the following address to test XAMPP is working: http://localhost/> if successful then it will look like below.

5 - test apache

6. Then, if you want to test MySQL is working, go to the following address: http://localhost/phpmyadmin > if successful then it will look like below.

6 - MySQL test

7. Next, please enter your website (code) folder into the directory C:xampphtdocs

7 - move folder

8. If you want to run your website, please open browser > then type localhost/websitefoldername/ > then the website will open on your local server using XAMPP.

8 - run

B. Using IIS

Unlike XAMPP, which must be downloaded first, IIS or Internet Information Server from Microsoft is available automatically during the Windows operating system installation process. However, we need to do a bit of configuration to enable IIS on your Windows.

1. Select icon search on the taskbar > then type turn windows features on or off > then click turn windows features on or off to open it.

way 1 - open windows features

2. Turn on or activate IIS with Click the check box on Internet Information Services > then click OK.

method 2 - check iis

3. Wait for the request finished processed > then click Close.

way 3 - close

4. Next please open browser You > then go to the following address to test IIS is working: http://localhost > if successful then it will look like below.

test localhost iis

5. Before creating a website, please enter the website folder (code) into the directory C:inetpubwwwroot

method 4 - how to create a web server on windows 10

6. Select icon search on the taskbar > then type IIS > then select Internet Information Services (IIS) Manager.

way 5 - open iis

7. If you have just activated IIS on your computer, then you will only have one website, namely the Default Web Site as shown below.

way 6 - web default

8. After that select Add Website to add or create a new website on the right side.

way 7 - add website

9. Next fill in the website name You > then in the Content Directory please select the three dots Physical path > then select website folder previously moved > then click OK.

way 8 - how to create a web server on windows

10. Then please fill in hostname from your website > then click OK.

way 9 - ok

11. If you want to run your website, please open browser > then type localhost/websitefoldername/ > then the website will open on your local server using IIS.

way 10 - run

C. Using WAMP

WAMP stands for Windows, Apache, MySQL, PHP. As the name implies, this Windows OS-based web server software uses Apache to control user requests. However, unfortunately this WAMP can only be used by Windows with PHP programming language support only.

1. Please download WAMP on the following page: http://www.wampserver.com/en/#download-wrapper

step 1 - how to create a web server on windows

2. Next install the WAMP application on your device.

3. Then open WAMP > wait until WAMP icon on taskbar turns green then WAMP is active.

step 3 - wamp is active

4. Next please open browser You > then go to the following address to test the WAMP server is working: http://localhost > if successful then it will look like below.

step 5 - test localhost

5. Then please enter your website (code) folder into the directory C:wampwww

step 4 - move folder

6. If you want to run your website, please open browser > then type localhost/websitefoldername/ > then the website will open on your local server using WAMP.

way 10 - how to create a web server on windows

The web server which is the most important part in controlling the website has various types of software that are very helpful in the website communication process. Apache, which is one of the most popular web servers, is also available in the software above.

Well, the three software above can help us in the process of making a website with a local network and offline. Thus the article on how to create a web server on Windows. Hopefully this article useful for you.

Post a Comment for "3 Ways to Create a Web Server on Windows (Local / Offline)"