cancel
Showing results for 
Search instead for 
Did you mean: 

Setting up master domain in WCM

winsenthil
Champ in-the-making
Champ in-the-making
Hi friends…
I need the steps to setup the master domain..
That is, I followed Getting Started with Alfresco Web Content Management tutorial 3.3 and created and deployed a web project successfully.

After deployment, when I previewed my website in the Staging Sandbox it opens an new window with the address:
http://sample.www--sandbox.127-0-0-1.ip.alfrescodemo.net:8180/
Here sample is the DNS name given by me during web project creation.

For example, If I need to have a site with the URL say http://sample.portal.local, how to do this.
That is
            from         http://sample.www--sandbox.127-0-0-1.ip.alfrescodemo.net:8180/                 to                  http://sample.portal.local

Do I need to configure this during my web project creation or any change in host file (Since I am using windows) is needed? Or is there any steps to set the complete domain without using www–sandbox.127-0-0-1.ip.alfrescodemo.net:8180..

(2) Then where to view my published web site without using preview website option??
4 REPLIES 4

johnalbanese
Champ in-the-making
Champ in-the-making
For Linux: See file alfresco-virtserver.properties. In my configuration, it is located under directory structure /opt/Alfresco/virtual-tomcat/conf. The file contains some instructions for mapping your IP. Your file change would look something like: alfresco.virtserver.domain=XXX-XXX-XX-XX.ip.alfrescodemo.net with X indicating your desired IP address. Note that - in the IP format is important. Hope this helps.

abhashree
Champ in-the-making
Champ in-the-making
Hi,

During WCM it is important to notice where your virtual server is running.
If you are running your virtual server and apllication server on the same machine or on different machine  then you have to set your ip address of machine where the virtual server is running in  alfresco-virtserver.properties present in the  Alfresco/virtual-tomcat/conf in the line alfresco.virtserver.domain=172-17-22.208.ip.alfrescodemo.net.Here i have given a ip address as an example.After that you have to set in hosts present in the /etc folder.You should provide ip address where the virtual server  is running in place of default 127-0-0-1.Try this .definitely it will work out.
the website format should be like http://virtual-hostname.www--sandbox.virtualization-domain/request-path.

winsenthil
Champ in-the-making
Champ in-the-making
Yes now its working fine… Thanks….

abhashree
Champ in-the-making
Champ in-the-making
Hi winsenthil,
you are welcome..nice to hear your problem has been solved.