banner



How To Create A Web Server In Windows 10

  Employ code KB4KDO0L9to receive a 10% recurring discount on any server.

Ever wanted to setup your own web server to host a website or share files with family? Creating a web server is actually easy to practise and we'll bear witness you everything you lot need to get started.

In this tutorial, we'll install all of the components required for setting up of a spider web server on a ServerMania server. This will setup all of the bones components of a spider web server. If you will exist hosting many sites, or want more robust site management, you should install a control panel like cPanel instead.

See Also: How to Apply Magento for eCommerce

Why should I use an external server for my web server instead of a computer in my firm?

There are many reasons why you should use a ServerMania Hybrid or Dedicated Server to prepare up your web server instead of setting up a web server at home

  • Cost:While it may sound cheaper to use that computer lying around doing goose egg when creating your web server, when you factor in the toll of powering an sometime figurer 24 hours a mean solar day, it can become very expensive. A 250W desktop computer running 24 hours per day at 12 cents per KW/h is a whopping $262.00 per year!Not to mention the costs of internet, hardware replacement, etc. It is much cheaper to rent a ServerMania server each month in the long run.
  • Reliability:Consumer grade internet and figurer hardware are not designed for the stresses of 24x7 usage and connections from effectually the globe. ServerMania on the other hand, uses enterprise grade hardware and connections to ensure everyone can connect to your server at lightning fast speeds.
  • Support:One of the major drawbacks of hosting your own website is that yous are responsible for whatsoever support bug. With ServerMania, you get 24x7 back up included with every server so you know we're always hither if you need help.

DOWNLOAD NOW: server management calendar

Increment server uptime and security with our recommended monthly server management tasks calendar.

Components of a Web Server

There are several major components to setting upwards a web server: This is oft referred to as theLAMP Stack.

Linux:The operating system behind the LAMP stack is Linux. Information technology'due south a lightweight and secure Bone, making it one of the most popular choices for the all-time web servers.

Apache:This is the software used to power the HTTP protocol which delivers web content from the server to the web browser.

MySQL:A popular database engine used for database driven websites.

PHP:A popular language of many websites, PHP is required for popular website scripts like WordPress.

What You'll Demand

Go started by ordering a ServerMania Hybrid or Dedicated Server. Y'all can utilize coupon code KB4KDO0L9 for a ten% lifetime discount.

System Requirements

The system requirements for setting upwardly a personal web server depend on the blazon of sites you intend to run. The minimum requirements are as follows:

  • A ServerMania Hybrid or Defended Server
  • CentOS 7+
  • 512MB RAM
  • 2GB Deejay Infinite

Database driven sites may crave greater organisation resources to run finer.

Linux

These instructions volition work on Ubuntu / Debian Linux. Commands may vary on other distributions.

Installation Instructions

Step 1: Connect to root via SSH to your ServerMania server.

ssh [email protected]

Pace 2: Install utilities wget,screen, and unzip which are required to execute the installation script:

apt-get -y install wget screen git

Pace iii: Download the LAMP installation script from github using wget:

git clone https://github.com/teddysun/lamp.git

Step iv: Change into the lamp-master folder:

cd lamp

Step 5: Set the installation script to be executable:

chmod +x *.sh

Step 6: Open a screen to outset the installation process:

screen -Southward lamp

Step seven: Execute the install script:

./lamp.sh

Footstep 8: Consummate the following steps during the install process:

  1. Choose an apache version. We recommend the latest version listed.
  2. Select the database yous wish to install. Nosotros recommend MySQL and selecting the latest version.
  3. Click enter to utilise the default MySQL data directory
  4. Enter a MySQL root password
  5. Select a PHP version. We recommend selecting the latest version.
  6. Install whatever required PHP modules. php-imagick is a adept selection if you lot're not certain what you need.
  7. Select 1 to install PHPMyAdmin
  8. Press any key to begin the install process

Managing Web Server Components

Now that your LAMP stack is installed, y'all can use these commands to showtime, stop, and restart components of the web server:

Apache

service httpd (start|terminate|status|restart)

MySQL

service mysqld (showtime|cease|status|restart)

Creating a New Site

Now that the LAMP stack is installed, you tin can now setup your start website on the spider web server.

The following command will add a site to your apache configuration file:

lamp add

Follow the steps in the script, providing the domain name and database information (if required).

You can at present add together files to the directory of your website. The default directory is:

data/www/domain.com

You can use the scp control from your local machine to upload files to the directory:

Windows

For those looking to setup a web server on Windows Server 2012, Windows Server 2016, or Windows Server 2019, the following steps can be followed.

Installation Instructions

Step 1: Open the Server Director

Search for and open the server manager.

Step 2: Click Manage > Add together Roles and Features

Click Manage and then click Roles and Features

Pace 3: Click Side by side

Click next on the first step of the install process.

Stride 4: Click Next

Click Next

Stride v: Select the server and click Next

Click Next after selecting the IIS Server.

Step 6: Select Web Server and click Next

Select the web server component and click next.

Pace seven: Click Next

Click Next

Step 8: Click Adjacent

Click Next

Step 9: Click Next

Click Next

Stride x: Click Install

Click Install

Managing the Server

You can now open up the IIS Manager. If you lot click on the Sites link and click Explore, you tin view the spider web root binder and move whatsoever site files to this location.

You can then visit your servers primary IP to access your site, or follow the instructions below to signal a domain to the server.

Open IIS Manager

Pointing a Domain to the Web Server

You lot volition demand to login to the admin interface at your domain registrar. Our tutorial did not setup whatsoever nameservers on the server, so you will need to utilize an external nameserver provider. Most domain registrars provide this for free.

Merely copy the IP accost of your server into the A record of the domain name DNS zone file.

Once you point the A record of the domain to your servers public IP accost, the data in this folder will be visible for users in their browser.

Conclusion

You lot have at present setup your web server. You can now install popular software to your web server like WordPress, or upload files to the server for download past users.

Source: https://www.servermania.com/kb/articles/how-to-quickly-setup-your-own-web-server/

Posted by: desmaraistang1999.blogspot.com

0 Response to "How To Create A Web Server In Windows 10"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel