Creating a New Virtual Host
Open the Runtime tab of the HTTP Provider Service running on a server process.
If You Want To |
Then |
Create a new virtual host with default settings |
... 1. Choose New Host at the upper part of the screen 2. Enter the name of the new host 3. Choose OK |
Create a new virtual host that has the same settings as an already existing one |
... 1. Highlight the existing host from the list of hosts at the left part of the screen 2. Choose Copy Host at the upper part of the screen 3. Enter the name of the new host 4. Choose OK |
After you have created the new host, you can still set it up differently by changing the values of some of its properties, set new aliases, root directory, and so on.
Using Telnet you can create new virtual host using the HOST shell command with its –add option. The command must be executed on the server process.
You can also use some of the other options of this command to perform various setup activities over the host that you are creating.
The most important thing you have to do after you have created the new virtual host is to map the new host’s name to an existing IP address in the DNS server. Now, when you try to access this host via a browser using the host name in your URL, the host name is resolved to the IP address that you have mapped to it.