cancel
Showing results for 
Search instead for 
Did you mean: 

Preview Server - alfrescodemo.net

lynnders
Champ in-the-making
Champ in-the-making
My preview server uses ip.alfrescodemo.net:8180 - this has been working fine until this morning.

How do I know if ip.alfrescodemo.net:8180 is up and running?

Thanks
Lynn
4 REPLIES 4

rmacian
Champ in-the-making
Champ in-the-making
It must be down,

meanwhile you can add manually the domain you need to your hosts file.

Following the example at http://wiki.alfresco.com/wiki/Configuring_the_Virtualization_Server for a sandbox in

alfresco.virtserver.domain=127-0-0-1.ip.alfrescodemo.net

you should add to your hosts

127.0.0.1 localhost  alfresco.virtserver.domain=127-0-0-1.ip.alfrescodemo.net

lynnders
Champ in-the-making
Champ in-the-making
I'm confused!

Would this mean I could only use the preview on the local machine that alfresco running on?
Therefore, if you use the default virtualization domain "127-0-0-1.ip.alfrescodemo.net", you'll only be able to do in-context preview on the same machine that hosts the Virtualization Server. To enable everybody on a LAN to use in-context preview, you'll need to use a network-accessible IP address (i.e.: not 127.0.0.1). In order to make the Alfresco webapp generate URLs that address the Virtualization Server's network-accessible address (e.g.: 192.168.1.5), edit the file:

I followed the example in the $VIRTUAL_TOMCAT_HOME/conf/alfresco-virtserver.properties
#    For example, if run your virtualization server on a
#    machine with an IP address of 192.168.1.5, you could
#    set your alfresco.virtserver.domain property like this:
#
#      alfresco.virtserver.domain=192-168-1-5.ip.alfrescodemo.net

So if my ip address of my preview server was 192.168.1.5 what would I add to my hosts file?

rmacian
Champ in-the-making
Champ in-the-making
The easiest way is to look at the url that is trying to access and to a copy & paste from the browser to the ip that appears on it when the connection fails

lynnders
Champ in-the-making
Champ in-the-making
The name server seems to be back up now.

I will still have to look into this as nobody could enter any content this morning. The web-forms use a webscript on the preview-server to populate the drop-downs. I suppose I could find a different way to populate the drop-downs.

Thanks for your help.