-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Karuppu,

On 8/19/13 3:53 PM, Karuppu Samy wrote:
> for example support I have tomcat application 
> http://vps.google.com:8080instead of I would like to use 
> student.google.com or mydomain.com
> 
> Is that possible?

Three steps:

1. DNS - configure mydomain.com to point to your IP address -- looks
like you already did this
2. Re-name your to ROOT (case-sensitive) -- looks like you already did
this
3. Map port 80 to port 8080(*)

(*) How you do this depends upon your environment's capabilities.

If you can just edit Tomcat's configuration directly, feel free to
just change the port number for your primary connector to be "80" and
restart Tomcat.

If you're running under a *NIX OS, then you can't do that (port 80)
without being root, so use jsvc to launch Tomcat instead which will
allow to bind as root then drop privileges to prevent privilege
escalation if Tomcat is subverted.

If you can't (or don't want to) run jsvc or you don't actually want to
run on port 80, then you can use port-forwarding at some level
(firewall, kernel, etc.) to map ports. iptables on Linux can do this
for you. You can read about it on the wiki. There are other tools for
other OSs.

At this point, if you still need help, I think you're going to have to
pay someone.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSEnoKAAoJEBzwKT+lPKRY5W4QAJ+sNTv1eSKkXdF8RCrVz4Gz
cNwhXIaHIQWjTbjG9EHVjanNn+vKWkY894sP83kibzp8hKmvvuA9cLDVr5GAEoM2
RLZtKGwJiBGZbRqOR564sadii2HVZeb4weGk3OhgsSqhj/RvmDBOQL5dJzseNWs/
C63qWa1oChuJVatBxT574kKOKjzrANlmB7cT6Z5VjRV0qP+C6C/aXLfijzzr1ft8
HnrR8rTa33A9J/CQM61bg0IPVvFK09OJHE/ObG5GwCJzVJAVp5i+bqbe1hbqpqhd
+43EVC58KYUbh2+iQslPajI0/KvWCq4GP+KNdTk7Me1wjpl3hpJw1jjtz/2aysP1
EJDvtx9gy3csXqIMUq7nVD/Oc4gzvRfukk5goZyado4vC7X8xAtBR1EKax1taevk
FPyg6uQiFVVF5ZjniOfGZsUwxKKNELRJwkjtduMoVNTSwNjYZ3DrOurTjw0AK+aG
VtdpHuImgr0eyzkj4BrxWkFkgXyBnq65fb6wVp4GyNZRnn50o/RvBWjXwqTrrnCe
5kDXSN3uH1BqdrpyDMyDtrBlYAu9BowNdKCyL3eJ6HyR7ZmKx4zS53hlK5EvVpEV
R7ZbEpxkgeqpeYbE4jI820hjuBb2Owhpg5COys+rQE7K6tsQ6Js0e2o9hbMH1fcM
NlqpU96YG6cykOxhHRKE
=EHeN
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to