This part of your question:
"Because two domains share the same IP address, I cannot assign them with different DNS names"
flatly contradicts this part:
"I'm going to maintain two domains with two different DNS names on one server."
Merely repeating your question word-for-word is not going to help me, or anyone else, understand you any better. Try asking it in a different way.
[Message sent by forum member 'matterbury' (matterbury)]
http://forums.java.net/jive/thread.jspa?messageID=355617