Jump to content

Forward domains to different local machines


proskater123

Recommended Posts

If both machines are running different websites on port 80.

You cant forward the port to both of them.

So what you should do is put both websites on 1 server.

Once both websites are on 1 server, Im going to assume you are using apache, Create a Virtualhost host for the different domains.

Then forward port 80 to the webserver.

so if you request blah.info it will send you to the webroot you set up for blah.info

and if you request blah.com it will send you to the webroot you set up for blah.com

Your solution may also lay in reverse proxying....

http://ubuntuforums.org/showthread.php?t=1335677

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...