Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache and dyndns

Status
Not open for further replies.

Asmodeusrimmon

Technical User
Jul 20, 2011
6
US
Hello Apache users. I have a question. I have dyndns going to one of my computers. I have ubuntu server 10.04 running on both my servers. Is there a way to point apache that has dyndns, to a webpage on another ubuntu 10.04 server?
 
Welcome to tek-tips.

Would you please clarify by what you mean by to "a webpage on another ubuntu 10.04 server"?

I am assuming you have one public IP address with your server on a LAN with NAT. The easiest thing to do would be to port forward to the server you wish to use. Apache supports multiple virtual hosts and can handle multiple sites with different names, even with the same IP address.

Otherwise, you are looking at some solution involving either a reverse proxy, which Apache can do, or using redirect or rewrite rules. Having a better understanding of what you are trying to accomplish would help to give you a better, more specific, answer.
 
I'll explain more.

I have two physical machines. I have dyndns pointing to one of my machines which I run a game server on. I have another physical machine which I have torrentflux B4-rt running on it. I would like to be able to access the torrentflux webpage from the dyndns address. THe way I'm thinking I need to do it is create a network folder on the machine that is running the game server, pointing to the torrentflux server.

Both machines are running ubuntu 10.04 server.

I'm a home user, I don't know too much about this stuff. I realize this is a professional forum, I've asked many places and haven't gotten any response. If you could help me it would be great. Thanks
 
UPDATE

I've created a NFS share mounting the /var/ the torrentflux machine to the /var/ the game server. It works, but it seems that I would also need to mount the needed folders that are on the torrentflux machine onto the game server.
 
Thanks a bunch it looks very promising. I will try it out tomorrow and see what I get.
 
I follow the tut but I keep getting an error saying:

* Starting web server apache2
Syntax error on line 43 of /etc/apache2/sites-enabled/000-default:
Invalid command '<Proxy', perhaps misspelled or defined by a module not included in the server configuration
...fail!

I've looked all over, and tried everything I could think of.
How do I fix this?
 
nvm I figured out how to fix it. But I'm getting the same issue as with just mounting a NFS share from the torrent server. I'm starting to think what I want to do isn't possible.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top