There’s not really a good way to do that… the recommended ways to handle that would be to either setup domaintwo.com as a Sub-Server, and have it redirect to the URL you want, or to setup your desired page within domaintwo.com.
For security reasons, browsers will hopefully not do what applejack wants. They are supposed to show the actual domain and path that they display, and not some fake or masqueraded one.
To actually pull off what you intend, you’ll need Reverse Proxying in Apache.
Sorry I didn’t really explain very well what I was after.
domaintwo.com would be a Sub-Server I just wanted to know how to direct it to a page of domainone.com as I tried but couldn’t work out how to do it in Virtualmin. As I said it is important that the url in the address bar stays as domaintwo.com.
If you can’t do this in Virtualmin anyone know how to write it for a .htaccess file
@applejack: I think we did understand what you’re trying to accomplish.
As I/we said: Generally, it is not possible to have the browser display “domain1”, but show “domain2” in the address bar. It’s a security measure: You want to see and know what page you’re displaying.
There are two ways around that which I know of: first, as I already said, a reverse proxy (for which tpnsolutions explained how to configure it with Virtualmin methods, a clean method), and second making a webpage that loads the actual one in an iframe (rather dirty hack, not recommended).
Question here would be though: WHY would you want to display “domain1” but have “domain2” in the address bar?