NiceLabel Web Applications relies on the component Web Printing site to accept the user login and provide the associated solution file to the authenticated user. The Web Printing site is the Web application running in the IIS on the Windows Server computer selected during the installation.
Web Printing site has two installation modes:
1. Install as a virtual directory within the Default Web Site
In this case, the Web Printing site is accessible as the subfolder within the existing Default Web Site. To access the Web Printing site you would open the URL as:
Where server is the name of your Windows Server and WebPrinting is the name of the virtual directory (if you didn’t change it during the installation then WebPrinting is the default name).
The Default Web Site usually runs on port 80, which is an IANA-assigned standard port for Web traffic (HTTP protocol). By default, the Web browsers connect to port 80, if you do not specify other port number.
2. Install as a new Web site
In this case, the Web Printing site is installed as a separate entity, unrelated to a Default Web Site. Use this option, if you already have some Web application running in the Default Web Site and it would not run well with the NiceLabel’s Web Printing Site. Or, you want to protect the Web Printing site with the SSL certificate-enabled encrypted communication.
After the installation, a new site will be defined in the IIS Manager.
Each new site that you define in the IIS must have a unique port number, not used by any other Web site or any other service on this computer. For example, your Web Printing site will be installed on port 81 and will accept a connection on the URL:
where: server is the name of your Windows Server.
In this case, the Web Printing site responds without using any subfolder name, like WebPrinting when you install Web Printing site as a virtual directory.
Using the first option the Web Printing site re-uses the existing Default Web Site.
Using the second option the Web Printing site installs as a new site, but it listens on a separate non-default port (e.g. 81 as used in the example above). Using port numbers might be confusing and difficult for the printing operator.
You can use an IIS feature Host Headers to allow multiple hostnames to share a single IP address and port number. You can make your Web Printing site accessible on port 80 even if the site runs on a different port (for example, 81).
Microsoft Internet Information Services (IIS) permits you to map multiple Web sites with the same port number to a single IP address by using a feature called Host Header Names. By assigning a unique host header name to each Web site, this feature permits you to map more than one Web site to an IP address.
For example, you want your Web Printing site to be easily accessible to your printing users.
Instead of remembering the URL
http://server:81 you want your user to memorize the URL as
To configure host header names in IIS 7.0, do the following:
Open Internet Information Services (IIS) Manager.
In IIS Manager, under Connections, expand your server name, and then expand Sites.
Right-click on a website (e.g. Web Printing), and then click Edit Bindings.
Expand server (where server name is the name of the Windows Server), and then expand Web Sites.
In the Site Bindings window, click Add.
In the Add Site Binding window, set the Hostname option to the friendly name of the website (e.g. MyWebPrinting).
Set the Port to 80.
In this case, the Web Printing site will respond to
http://server:81(port 81) and
http://MyWebPrinting(port 80) at the same time.
Register the host header name MyWebPrinting with the appropriate name resolution system. For example, a Domain Name System (DNS) server or, in the case of a small network, a Hosts file.
http://MyWebPrinting is valid only in your internal network. If you want to open your Web Printing site to internet users, make sure your host header name resolves on the internet. This involves purchasing the domain name (e.g. MyWebPrinting.com), registering the name in a DNS server, and then following the steps above.