Ability to use virtualHost name in server

Description

Desired feature is to be able to start the server with a virtualhost name:

$ server start name="hotfix-sup-approval" hostname="hotfix-sup-approval.devbox.com" force=true

After taking a look at all the CFDISTRO files, all the ANT scripts are there to create virtual hosts for all the available containers, including scripts that edit the hosts file. I'll try to build something on my own and share it if I get anywhere near adding this feature, but I do think the pros should work on this.

I prefer the virtual host name hotfix-sup-approval.devbox.com over random port use 127.0.0.1:62807. Its more coldbox environment friendly.

Activity

Show:
Daniel Mejia
May 29, 2014, 6:34 AM

logged in as another user to clone box-cli and build.cli.all and got same result.

Daniel Mejia
June 6, 2014, 5:15 AM

Brad, I attached the output of the stack trace. This time I used the bin file from http://cfmlprojects.org/artifacts/com/ortussolutions/box.cli/1.0.0/ and prior to installing I deleted all box related files from my home directory.

Brad Wood
June 6, 2014, 5:22 AM

Looks like you've got an old version of Java installed. "Unsupported major.minor version 51.0"
Make sure your machine has Java 7 installed and your environment variables are set to use it. It probably uses your JAVA_HOME or JRE_HOME env variable.

Daniel Mejia
June 20, 2014, 11:10 PM

Meant to reply long time ago. Updating my jdk to 1.7 worked. Thank you. Close this issue.

Luis Majano
June 20, 2014, 11:41 PM

upgrade to jdk needed

Fixed

Assignee

Brad Wood

Reporter

Daniel Mejia

Labels

None

Affects versions

Fix versions

Priority

Major

Components