Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] How to setup virtual host?

Hello dear Jetty users!
I'm facing issue with configuring virtual host for new Eclipse User Group Czech website http://eclipseczech.cz domain.

1. Address (A) record of this domain eclipseczech.cz points to server running Jetty 9.0.3.v20130506.
2. Server has www.eclipseczech.cz.war in $JETTY_HOME/webapps/ folder.
3. There is this $JETTY_HOME/webapps/www.eclipseczech.cz.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">

<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<Set name="virtualHosts">
<Array type="String">
<Item>eclipseczech.cz</Item>
<Item>www.eclipseczech.cz</Item>
</Array>
</Set>
</Configure>

4. That all but nut instead of website I see Jetty's listing of deployed context then I go to http://eclipseczech.cz :-(

Please could you help me to setup Eclipse User Group hosting using Eclipse web server Jetty?

--
Hezky den / Have a nice day
Libor JELÍNEK

VIRTAGE SOFTWARE // www.virtage.com
Lucni 542, 285 04 Uhlirske Janovice, Czech Republic
support: +420 315 555 488 // cell: +420 777 205 142
email: ljelinek@xxxxxxxxxxx // https://twitter.com/liborjelinek

Visit our developer adventures at http://devblog.virtage.com!

Back to the top