Labels

accessibility (2) ADF (1) archiver (3) cmu (1) contributor (13) cookie (1) DAM (3) date (3) download (3) dynamic list (4) ephox (5) fatwire (1) fck (1) filters (1) folders (4) headers (2) IBR (3) ImageAlchemy (3) java (4) javascript (2) layout/template (4) link (6) locale (2) multilingual (1) rendition (3) replicator (4) rules (1) schema (1) search (11) sites (1) sitestudio (24) ssp/sspu (5) SSUrlFieldName (2) stellent (4) timezone (1) urm (1) weblogic (1) workflow (2)

Tuesday 15 May 2012

Accessing Site Studio domains in 11g

The ability to access custom domain addresses for Site Studio websites in 11g is not documented anywhere. Here's how to do it, using only WebLogic.

The UCM server needs to be told to deliver web sites at the preferred domains (this part is the only bit documented in Oracle's WebCenter Content manuals.) In Content Server, go to Administration > Site Studio Administration > Manage Web Addresses. Enter the custom domain addresses for each SiteStudio website (like "mysite.com") and set defaults if desired.

Now for the missing bits. The WebLogic UCM server needs to be instructed to respond to those domain addresses. First of all it needs a port to listen on. In the WebLogic console go to Environment > Servers and click on the UCM server. On the Protocols tab, click the Channels tab and then create a new Network Channel. Set the Protocol to "http" and click next. Enter the Listen Address as "localhost" and the Listen Port as "80" and click finish.

Now that the WebLogic UCM server is listening on port 80 it can be pointed at the custom domains. Go to Environment > Virtual Hosts and create a new Virtual Host. Once created, click on it. In the General tab enter the same Virtual Host Names that were configured in UCM under Manage Web Addresses. Then enter the Network Channel Name that was created previously (the default is "Channel-0".) Click Save and then reboot the UCM server.

The Site Studio websites should now be accessible from the custom domains.
********************

Notes: If you're on Windows you should update the hosts file to include the custom domains at 127.0.0.1. If you also have IIS running you'll need to tell it to not use port 80 on any of its websites. If this is an issue for you then try the WebLogic plugin for IIS - specify a different port in the UCM server Network Channel and point the IIS plugin at that.

1 comment: