Solved

redirect to local ip still showing for the internet

Posted on 2003-11-11
4
375 Views
Last Modified: 2013-12-16
In  my linux, I have Apache.. ( im new to this ! )

I have two PC's with each their local-ip; 192.168.0.178; 192.168.0.179
I have one router (d-link 604) one static IP: 129.142.199.185

On the ...178 localip theres a website, and a counter strike game server
on the ... 179 localip theres a website, and a log-analyser (psychostats.com) for the gamelogs.

On the ...178' , in the website, theres a link to the logs on the 179' .. but only us on behind the router can see the log-pages.

How can I make the 178' "redirect" to the 179'  AND STILL show the pages to the internet-visitors ?
0
Comment
Question by:Capion
4 Comments
 
LVL 1

Author Comment

by:Capion
ID: 9726450
Maybe the question is in the wrong topic ??..
0
 

Expert Comment

by:gruntwerk
ID: 9726862
can you setup your router to redirect...

You could try linking the folder via nfs.
mount 179:/foldername
0
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
ID: 9727091
The only way you can do this it to have the web server on 192.168.0.179 configured to listen on some port other 80, say 81. Then you'd need to forward traffic on port 81 to that IP on your router and include the port number in the redirect URL.
0
 
LVL 38

Expert Comment

by:yuzh
ID: 9727483
Use NFS mount is the easy to go.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question