I am running tomacat. I have one registered domain. I gave my dynamic ip of computer (having tomcat) in dns and now my website is running.
I had done this by adding index.html page in Root directory of tomcat which is home page of my website 'firstwebsite'
Now if I want to run an other website www.secondwebsite.com
on same computer, how i would do that.
I have to give same ip in dns setting of my second website. but my compter should know some how that it is comming from www.firstwebsite.com
Is it possible?
Also If i want to run Apache on differnt port like 8989 beside tomcat, can I give that port in my dns entry?
like 192.168.1.44:8989 .... some thing like that?
I am running windows xp and tomcat 5.5 on port 80.
Later may be I would like to add apache but on diffrerent port then 80.