How to access the website created by enonic through your own website

I downloaded the source code to run the website. How to publish the website so that visitors can access my short domain name

Enonic version: YourEnonicVersion
OS: YourOS

Hi,

You could follow this guide to sign up for a trial in our cloud and from there go live =)
https://docs.enonic.com/en/stable/getstarted/cloud.html

I have installed it on my server, but open the home page and always jump out to log in!

Hi.

So the problem could be that virtualhost is disabled.
This is under $XP_HOME/....../config/com.enonic.xp.web.vhost.cfg

enabled = false
^ this should be set to true

Another problem if vhost is ENABLED could be that a userStore has been added to the vhost mapping, like in the last line in the example below.

mapping.mysite.host = mysite.com
mapping.mysite.source = /features
mapping.mysite.target = /portal/master/mysite
mapping.mysite.userStore = system

If this does not solve it, I will need some more info on your setup to be able to help.

1 Like