Step 1: copy the following line from
C:\inetpub\wwwroot\(Websites Name)\App_Config\Sitecore.config
Step 2: create the
file in the given place
C:\inetpub\wwwroot\(Websites Name)\App_Config\Include\z\somename.config
Step 3: make appropriate change as per you choice and take
the refrence from image
Note: hostName
is case sensative therefore only N should be capital
<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<sites>
<site name="americasite" patch:before="site[@name='website']"
inherits="website"
hostName="america.sitecore.com"
rootPath="/sitecore/content/America"
startItem="/home"
database="master"
/>
</sites>
</sitecore>
</configuration>
Step 4: create the Binding
with the hostName
Step 5: open Host
config File and make appropriate change
C:\Windows\System32\drivers\etc\hosts.config
Find these files( Red coloured is the name of Sitecore
instance name which have been installed
on the system and yellow coloured is the name of sites name)
127.0.0.1 solridentityserver.dev.local
127.0.0.1 solrxconnect.dev.local
127.0.0.1 solrsc.dev.local
127.0.0.1 america.sitecore.com
127.0.0.1 india.sitecore.com
Step 6: open the sites in new browser with
http://
america.sitecore.com /kejriwal
refrence following image
No comments:
Post a Comment