Creating a virtual host
By default, default_host is associated with all user application requests. There are some cases in which multiple virtual hosts should be created, for example:
- Applications having conflicting URIs
- Support for extra ports such as port 443 for SSL
- Keep clear independence of each virtual host for applications and servers
The configuration of a virtual host is applied to an entire cell. To create a new virtual host, do the following:
1. Select Environment -> Virtual Hosts and then click New.
2. Enter a name for the virtual host and click Apply.
3. Click Host Aliases in the Additional Properties pane.
4. Click New.
5. Enter values for the Host Name and Port fields and click OK.
6. MultiPurpose Internet Mail Ex tensions (MIME) mappings associate a file name extension with a type of data file such as text, audio or image. A set of MIME types is automatically defined for you when you create a virtual host. To see or alter the MIME types associated with this new virtual host, click MIME Types in the Additional Properties section of the virtual host.
7. Click New to add a MIME type.
8. Enter the MIME type and extension. Click Apply to continue adding new types or click OK if you are finished.
9. Click Save on the taskbar and save your changes.
- Applications having conflicting URIs
- Support for extra ports such as port 443 for SSL
- Keep clear independence of each virtual host for applications and servers
The configuration of a virtual host is applied to an entire cell. To create a new virtual host, do the following:
1. Select Environment -> Virtual Hosts and then click New.
2. Enter a name for the virtual host and click Apply.
3. Click Host Aliases in the Additional Properties pane.
4. Click New.
5. Enter values for the Host Name and Port fields and click OK.
6. MultiPurpose Internet Mail Ex tensions (MIME) mappings associate a file name extension with a type of data file such as text, audio or image. A set of MIME types is automatically defined for you when you create a virtual host. To see or alter the MIME types associated with this new virtual host, click MIME Types in the Additional Properties section of the virtual host.
7. Click New to add a MIME type.
8. Enter the MIME type and extension. Click Apply to continue adding new types or click OK if you are finished.
9. Click Save on the taskbar and save your changes.
No comments:
Post a Comment