Microsoft created the extensible Web server programmes known as Internet Information Services (IIS, originally Internet Information Server) for use with the Windows NT operating system. IIS supports SMTP, NNTP, FTP, HTTP/2, HTTPS, and FTPS. Since Windows NT 4.0, it has been an essential component of the Windows NT family, however some editions (like Windows XP Home Edition) do not include it and it is not always turned on. We learned how to set up IIS on Windows Server 2019 in the previous tutorial.In this lesson, we’ll look at how to replace the IIS default webpage with a static website. You can quickly and easily deploy your website using this strategy.
On IIS, add a static website.
Sign in to your 99RDP Dedicated Server first.
The IIS services can be accessed using the Server Manager programmes.
Expand the default Web Server after the IIS service has been launched.
To manage the files on the Default website, use the right-click menu.
You may view the website’s default files that are currently hosted under the Manage Website section of the Advanced Setting menu. “%SystemDrive%inetpubwwwroot” is the path.
To edit the default page, go to “%SystemDrive%inetpubwwwroot.”
These are the HTML files that are hosted by the IIS Web Server by default. Those files can be edited to your specifications. Alternatively, you can replace the file with the source code for your website, and it will display the server IP.
Let’s check out our new static website by going to the server IP, which is “http://147.124.215.141/,” in your browser.
Conclusion
The fundamental procedures for adding a static website to the IIS web server are now complete; in the following lesson, we will discuss how to add a new website to the IIS web server by specifying the local directory path, hostname, and the port for the Internet. We’ll also look at web app publishing with.net.
An Internet Protocol address is a label composed of numbers, for example, 197.8.5.1. This address is linked to a computer network that communicates using the Internet Protocol. Two primary purposes are served by an IP address. Identification and location addressing of network interfaces A 32-bit number is what the Internet Protocol version 4 (IPv4) defines as an IP address. Nevertheless, due to the expansion of the Internet and the exhaustion of IPv4 addresses.In 1998, a new version of IP (IPv6) was adopted, using 128 bits for the IP address. However, IPv6 deployment has been going on since the middle of the 2000s. Human-readable formats are used to write and display IP addresses, such as 197.8.5.1 for IPv4 and 2001:db8:0:1234:0:567:8:1 for IPv6.
The Internet Assigned Numbers Authority (IANA) oversees the management of the IP address space on a global scale, and five regional Internet registries (RIRs) are in charge of managing it in their respective regions for assignment to local Internet registries, such as Internet service providers (ISPs) and other end users. Blocks of over 16.8 million IPv4 addresses each were provided by IANA to the local internet registry, but IANA has run out of IPv4 addresses as of 2011. Only one RIR still has stock available for regional operations in Africa. Not all IPv4 addresses are globally unique and some are reserved for private networks.Every piece of equipment connected to the network is given an IP address by the network administrator. Depending on network procedures and software capabilities, such assignments may be static (fixed or permanent) or dynamic.
Format And Features Of IPv4
Let’s look at the features of the format used to store IPv4 addresses.
This protocol is already supported by millions of devices.
Between several devices, a fundamental virtual communication layer can be created.
a connectionless protocol.
Addresses are less complicated to store and are simpler to recall.
provides video libraries and conferencing. 12 header fields are provided.
An IPv4 checksum field exists.
Format And Features Of IPv6
Let’s look at the features of the format used to store IPv6 addresses.
Infrastructure for hierarchical addressing and routing is supported by quality of service (QoS).
An optimal protocol for communication between neighbouring nodes.
Configurations that use and don’t use states.
Give each gadget a different address.
Routing is made easier by the usage of a CIDR-like hierarchy in IPv6 address encoding.
The Best Internet Protocol Version to Use
As you have seen the features, let’s dive into a quick comparison for choosing the best version.
Performance
The Internet Protocol version’s address size affects performance. In contrast to IPv6, which has a 128-bit hexadecimal address space, IPv4 has a 32-bit address space. In addition, because IPv6 has a bigger address space, it can manage very large address requirements with simpler headers and simpler routing.
Format
In comparison to IPv4 addresses, IPv6 addresses include four times as many extension headers. Connections are greatly accelerated by this extra feature of IPv6 addresses, which lowers header bandwidth requirements and packet processing overhead.
Security
IPSec is a network security protocol that is required for functioning in IPv6, but optional or extra in IPv4. In summary, this IPv6 feature enhances data consistency, network security, and confidentiality.
Faster Speed
On network devices, IPv6 is quicker than IPv4 since there is no network address translation (NAT). If high speed network processing is necessary, we advise utilising IPv6.
Conclusion
Last but not least, IPv6 prevails when comparisons and features are known. But compared to IPv4, it is being used by fewer devices. Ipv6 addresses are preferable since they allow for considerably faster and more secure data transfer when using cloud apps. IPv4 and IPv6 are additionally intrinsically incompatible. To make sure that the two protocols are functioning and compatible, an intermediary technology is needed. Today’s Internet space is dominated by IPv4, which is frequently utilised to host server clusters and dedicated servers.
A structural framework for dynamic web applications is Angularjs. You can extend HTML syntax to represent the components of your application in a clear and straightforward manner by using HTML as a template language. Data binding and dependency injection in Angularjs allow you to write a lot less code than you otherwise would. And since everything takes place in the browser, any server technology can work perfectly with it. What HTML should have been if it had been created for applications is Angularjs. We will learn how to install Angularjs on a Linux server in this post.
Characteristics of Angularjs
Therefore, creating a web application is an exercise in what needs to be done to get the browser to perform what you want it to. These approaches are frequently used to address impedance mismatches between dynamic applications and static documents:
Libraries are groups of valuable tools for building web applications. When necessary, your code is in charge and calls the library. Consider jQuery.
Framework: A particular web application implementation where the specifics are filled in by code. When something app-specific is required, the framework takes over and calls your code. Examples include Ember, Durandal, etc.
A different strategy is used by Angularjs. It works to reduce the impedance mismatch between document-centric HTML and what your application requires by introducing new HTML constructs. Angularjs uses directive-based building blocks to teach the browser new syntax. For instance:
data binding similar to
DOM pieces can be repeated, displayed, and hidden using this control structure. validation of forms and support for forms.
B. DOM event handling that gives DOM elements new behaviour, such as:
Create reusable HTML components from your HTML.
How To Set Up An Angularjs Server On A Linux Machine
In this guide, we are going to use Ubuntu 20.04 for showing how to install Angularjs.
To prevent mistakes in the following stages, first update and upgrade all systems to the most recent versions. To update and upgrade the system components, use the provided command.
# sudo apt-get upgrade && sudo apt-get update -y
Check your system’s node version after that. We need Nodejs as a requirement in order to install Angular JS. The backend’s cross-platform runtime environment for JavaScript is called Node JS. If Nodejs is not already installed, click the provided link to learn how to do so. To check the Node version, type the provided command.
# node -v
With the output, you can see that Node v18.10.0 is already installed on the system.
Additionally needed for Angularjs installation is Node Package Manager. Enter the command to install NPM.
# sudo apt install npm -y
You can use the provided command to determine the version of the node package management after installation.
# npm -v
Furthermore, NPM and Nodejs are already installed. The command provided can be used to install the Angularjs CLI.
# sudo npm install -g @angular/cli
Run the provided command to check the Angularjs version when the installation procedure is complete.
# ng version
If you receive this result from the ng version command, your installation is complete. The only thing left to do is choose the directory where you will compile and serve the application. We have finally finished the entire installation process for Angularjs on a Linux server.
A static website is hosted by the Windows Server-based technology known as IIS. It is not switched on by default. We need to configure IIS before we can host content. A web page (HTML) that is given to the user exactly as saved is known as static content. Dynamic content, on the other hand, is created by a web application, like an ASP.NET or PHP application. For all users, static content presents the same data. While dynamic content can provide user-specific data like the user name and other things.IIS’s main responsibility is to host a webpage by processing, storing, and providing users with web pages. IIS also supports SMTP (Simple Mail Transfer Protocol) and FTP (File Transfer Protocol) in addition to HTTP (FTP). We’ll learn how to configure IIS Web Server on Windows Server 2019 in this tutorial.
Configure Windows Server 2019’s IIS Web Server
Start the Server Manager and select Add roles and features to setup the IIS Web Server.
Role-based installation can be selected on the Select Installation Type page by clicking the next button.
Select the destination server on the Select Destination Server page, then click the next button.
Click on next after selecting the Web Server(IIS) role.
Select the services you want to install with your web server on the Role Services page.
Finally, click install after confirming the installation role.
Restart the system after the installation is complete. Open your browser and go to the server IP to verify that the webserver is operational; if it loads, the IIS Web Server was successfully installed.
Conclusion
These are the fundamental procedures for configuring the IIS web server. These Web servers are often useful for serving static HTML web pages or content. When compared to an application server, it uses less CPU or memory and offers a runtime environment for web applications. The process of adding a static website to this IIS Web Server will then be discussed. Remain tuned.
DHCP network setting is used by default in Linux installations. A client/server protocol called DHCP assigns IP addresses to the host on demand. Additionally, it contains details about the IP, including its subnet mask and default gateway. It consequently receives an IP address from a router on your network automatically. Although this dynamic protocol has several benefits, some operations need a static IP address. A File/Web server is a nice illustration. In this post, we’ll demonstrate how to modify the IP address of a CentOs 7 Linux host or how to configure static IP.
We are using the IPV4 address information as an example.
IP Address: 147.124.***.***
Gateway: 147.***.208.*
Netmask: 255.255.***.***
DNS: 8.8.8.8/8.8.4.4
Using the ifcfg Files, change the IP address
The software terminal for specific network devices is managed via the ifcfg files. These files are used by the system at boot-up to choose which terminal to launch and how to configure it. On CentOS 7, navigate to the specified ifcfg file and make the necessary changes.
Let’s first use the provided command to determine the network interface name.
# ifconfig -a
After that, use the provided command to open the network interface configuration file, which will do so with the default data.
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
Edit the file containing the static IP information and save it to change the IP to static.
Now use the provided command to restart the network manager service.
# systemctl restart network
You can see that the server’s IP has changed to the IP in the example after the restart.
Using NMTUI, change the IP
A curses-based TUI programme called Network Manager Text User Interface is used to communicate with NetworkManager. Unless it was supplied as the first argument, the user is requested to select the activity to carry out when nmtui starts. The NMTUI tool is pre-installed on 99RDP Linux VPS. Run it initially using the terminal’s # nmtui command.
Choose Edit a connection, then pick the eth0 network device.
Enter and save the static IP information.
Restart the computer after quitting the Network Manager.
Conclusion
These two options are your final two choices for changing the IP address of your CentOS 7 server. Other Linux distributions have a similar set of options.
To send an Internet Control Message Protocol echo request message to another TCP/IP device to confirm IP-level connectivity, enable Ping for Windows Server 2019. Along with the round-trip time, receipt of the relevant echo reply message is shown. The most used TCP/IP command for analysing connectivity, reachability, and name resolution is ping. The ICMP and ping traffic is blocked by the default installation of Windows Server 2019. Microsoft does this to protect users. However, in order to use a dedicated server, your server must accept ICMP traffic from specific hosts. To establish a cloud connection with an external host.You can monitor and resolve network issues for your host by enabling ping. This article explains how to make ping available on Windows Server 2019.We can shut off the entire Firewall in order to enable Ping. This is not advised, though, as Windows Firewall does a superb job at offering fundamental system security. Just the rules necessary for the ping to work should be allowed.
On Windows Server 2019, enable the ICMP rule to allow ping replies (GUI)
Firstly Activate your Windows Server 2019 DS account. The Windows Firewall must then be opened. There are numerous ways to accomplish this, but we’ll use a straightforward search by entering “firewall” in the start menu. Launch it.
Select Inbound Rules in the Windows Firewall and search for “File and printer Sharing (Echo Request – ICMPv4-In)” To enable the rule, right-click on it.
NOTE: that if you need IPv6, you must enable the “File and Printer Sharing (Echo Request – ICMPv6-In)” rule, which is specified directly below. This rule only permits IPv4 requests to enter.
The server will reply to ping requests when enabled. Prior to and after activating the rule, I began pinging my Windows Server 2019 virtual machine at 147.124.215.128. Because incoming ICMP requests are disabled by default in Windows Server 2019, you can see from the screenshots below that the initial few requests timed out. The ping request is successful after the ICMP rule is enabled, indicating that everything is functioning as it should.
Enable Ping With PowerShell Command
To make an exception for the rules, launch” Powershell “As An Administrator” and execute the provided command.
Rule for ICMPv4:
Using the command line, add a firewall rule with the name “ICMP Allow inbound V4 echo request” and the protocol “icmpv4:8,any”
ICMPV6 rule:
Using the command line, add a firewall rule with the name “ICMP Allow Incoming V6 Echo Request” and the protocol “icmpv6:8,any”. action=allow dir
The network security policy in your environment will determine whether to enable or disable Ping since it is a helpful tool for troubleshooting and identifying the existence of network devices. This post offered straightforward instructions for turning on and off the Ping reply using the GUI and PowerShell.