The constant reboots will definitely be an annoying event. It would be best to reload Windows Server 2012/2016 as a trial or if you have the money, you can buy a valid license.
If you don't mind the constant reboots, there are plenty of tutorials online to setting up IIS (Internet Information Services) by Microsoft.
https://docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-8/installing-iis-8-on-windows-server-2012
Installing IIS 8 with the Default Settings
To install IIS 8, use the following steps:
- Open Server Manager.
- Under Manage menu, select Add Roles and Features:
- Select Role-based or Feature-based Installation:
- Select the appropriate server (local is selected by default), as
shown below:
- Select Web Server (IIS):
- No additional features are needed for IIS, so click Next:
- Click Next:
- Customize your installation of IIS, or accept the default settings
that have already been selected for you, and then click Next:
- Click Install:
- When the IIS installation completes, the wizard reflects the
installation status:
- Click Close to exit the wizard.
Once you get past the default installation, you can now check the default IIS page by opening a web browser and going to http://localhost/ or http://127.0.0.1/ and you will see the default IIS page. If you want to access the page from another computer on your local network then you would navigate to http://192.168.0.10/ or whatever your server's IP Address is.
To upload your own webpage files you need to change the files located in C:\inetpub\www
. The index.htm
file is the default file loaded by web servers which is usually the start page if you will. Change this to whatever you want to be your home page and that should get you going.
If you want to access your website from the Internet then you will need to set your web server a static IP, reserve that IP from your DHCP server, which would usually be your home router then port forward all HTTP/80 traffic to point to your web server's IP address.
If you successfully setup your webserver and forwarded it properly, you should be able to get to your page from the internet by browsing to your public IP address. You can use this page to get it for you http://whatismyipaddress.com/.
If you want to use a domain name like mywebsite.com to get to your website, then you can get a free/paid domain name from https://www.noip.com/, just an example. There are many more domain name providers out there. For a free domain name from No-IP.com, just create an account, add a host and the host should point to your outside IP address and you can select the name you want to give your free domain. Once you have that, you need to give it some time to propegate and then try navigating to that domain from elsewhere.