Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

redirect to local ip still showing for the internet

Posted on 2003-11-11
4
376 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
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…

856 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