Additional Domain Mapping

Top  Previous  Next

In most hosting environments, you would have access to 1 JVM or application server.

And you may have multiple domains that you want to map to the application server.

Below are the steps to map additional domains to the application server under specific Web Hosting

Control Panels.

 

Plesk

After Mapping the primary Domain to the Application Server, you may add additional domain mapping

by following the Steps below:

1)In Plesk go to the Primary Domain section.

2)Click the "Domain Aliases" button under the "Domain" sub-section.

3)Set the additional Domain (note if the domain was already created, it needs to be deleted first).

 

FOR Regular Domains, Your Administrator must have set the following:

a) Login to NGASI as Administrator

b)Click Users List

c)Select User

d)Click "Customize User Configuration" Edit Button

e)Click Control Panel tab

f)Check the "Additional Client Domains" CheckBox

g)Click "Save"

NOTE: The Administrator can set this feature Globally by Adding the following entry:

additional_client_domain_support=true

in the:

/usr/ngasi/webapps/WEB-INF/ws/webapps/appservermgr/ZP-INF/wsportal.properties

 

 

4)Log into NGASI AppServer Manager

5)Go to "Web Server and Hosting Manager Configuration".

6)Reset the Mapping.

 

cPanel

After Mapping the primary Domain to the Application Server, you may add additional domain mapping

by following the Steps below:

1)In cPanel go to the Site Management Tools section.

2)Click the "Parked Domains" button (this feature must be enabled by the Administrator).

NOTE: If the domain is a cPanel "Parked Domain", it will not appear in the NGASI "Web Server Virtual Hosts" list. However as long as the "Parked Domain" resolves to the same IP address of the primary Domain to the Application Server, the HTTP response will be the same. For example:

http://mydomain.tld/myapp = http://myparkeddomain.tld/myapp

 

3)Set the additional Domain (note if the domain was already created, it needs to be deleted first).

For cPanel "Addon Domains", if the main domain is called mydomain1.com and you create an

addon domain called mydomain2.com, then mydomain2.com will appear as

mydomain2.mydomain1.com in the Web Server Virtual Hosts list under the

NGASI Web Server Configuration section.

 

4)Log into NGASI AppServer Manager

5)Go to "Web Server and Hosting Manager Configuration".

6)Reset the Mapping.