Using Railo and Resin with domain aliases

There are many guides out there to help you in setting up Railo with IIS. But none of the ones that I found helped you to configure domain aliases.

So I am going to give you a quick example of the way that I have used to configure my domain aliases. I'm sure there are some easier ways of doing it but this is how I did it.

There is a file called resin.conf under the conf folder in you Railo install folder. At the bottom of this file you will find a "</cluster>" tag.

Just before this you will need to add in this piece of code. The host id is the aliases, in this example allmead.com. You will then need to enter the root directory of the actual site. Then you will need to enter where the web site is.

<host id="allmead.com">
<root-directory>C:/Inetpub/vhosts/allmead.co.uk</root-directory>
<web-app id="/" document-directory="C:/Inetpub/vhosts/allmead.co.uk/httpdocs"/>
</host>
<host id="www.allmead.com">
<root-directory>C:/Inetpub/vhosts/allmead.co.uk</root-directory>
<web-app id="/" document-directory="C:/Inetpub/vhosts/allmead.co.uk/httpdocs"/>
</host>

This is very simple to do.
Just remember you will need to restart the Railo server service after you save the file.

BlogCFC on Railo

Yesterday i bought a new server. I wanted to move all of my websites to it but didnt really want to pay for coldfusion, hence i am now running railo

The configuration was fairly simple at times, with some parts being slightly more complex. But good news is it is working now.

[More]

Unlimited Website Hosting

I have recently launched my new Unlimited Website Hosting package throught Jassoft. This package has most of its features unlimited, meaning this package will never be too small for you.

This package is only £2.50, meaning this is the best value package out there.

Check it out, feedback on the features would also be appreciated.

Select Last Number In Access

I have recently been working on a ticketing system and i needed to know how to find they next number for the primary key. Took me a while to find out how to do it in access so i thought i would share it.

Here is this SQL that i used.

SELECT LAST([Tickets.TicketID])+1 AS TicketID FROM Tickets

I know that with many of the better DBMS they can return the generated keys, But from what i found you can not do this with access.

If you have found any easier methods then please feel free to share them.

Coldfusion and Java

I have recently been doing some work with java, making a contacts manager.

I was just wondering what people thought about using java with coldfusion?

Does it give any advantages?

Is it easy to integrate the two?

Just want a few opinions really.

Coldfusion Hosting From £2.50

I am currently selling coldfusion hosting from £2.50 a month.

This package includes hosting for 1 domain, and support CF8, ASP, ASP.NET, PHP and PERL

[More]

cf8.co.uk For Sale

I recently acquired the domain cf8.co.uk

I am currently trying to sell this domain so am open to offers if anyone wants it.

[More]

Coldfusion to PHP?

I have recently accepted a position for a web developer

Unfortunately the company uses PHP for its front-end websites with C# DLLs behind it, I have used PHP many years ago when i started out in web development. But nowhere near using them tih DLLs.

What i really want to know is how hard will it be to take my knowledge from Coldfusion to PHP?

Any advice would be appreciated

Javascript Fisheye Menu

In my previous post i mentioned about a homepage site i had created. In that site i used a fisheye menu. Fisheye menus are a very good way to display many links or icons but still being able to see them. I got the idea from a book call "Designing the user interface" by Ben Schneiderman which is a book i would recomend to anyone.

[More]

Customizable Homepage

Im sure that everyone has there own opinions on customizable homepages. I quite like the idea, so i have decided to start developing my own.

It only has a few features at the moment consisting of just a few links on a fisheye menu. I will be looking to widely increase the amount of features available on the site over the next few weeks and months

[More]

More Entries

Archives By Subject

Advertising (4) [RSS]
Blog Design (1) [RSS]
CFProject Scripts (2) [RSS]
Coldfusion Charts (3) [RSS]
Coldfusion Functions (5) [RSS]
Coldfusion Overview (1) [RSS]
Coldfusion Tutorials (17) [RSS]
For Sale (2) [RSS]
Image Manipulation (1) [RSS]
Java (1) [RSS]
JavaScript (4) [RSS]
PHP (1) [RSS]
Railo (2) [RSS]
SQL (1) [RSS]
Useful Tools (3) [RSS]

Recent Comments

Hashing Passwords
Richard Lord said: You really need to salt the passwords before hashing them, otherwise you're exposed to a rainbow-tab... [More]

Using Railo and Resin with domain aliases
Jonny Shaw said: Thanks for that. I am already using <host regexp="(.+)"> <host-name>${ho... [More]

Using Railo and Resin with domain aliases
Gert Franz said: Hi Jonny, it's even easier if you do it this way: <host id="allmead.com" root-dir... [More]

BlogCFC on Railo
Jonny Shaw said: Thanks for the advice ray. I was surprised at how easily BlogCFC went accross to to railo. The onl... [More]

BlogCFC on Railo
Gert Franz said: Congratulations to your new websites. I just wanted to add two things: CFIMAGE and CFCHART are suppo... [More]

Recent Entries

No recent entries.
ColdFusion Blog | ColdFusion Hosting | ColdFusion Q & A