LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Tags used in this thread
Popular LQ Tags , , , , ,

Reply
 
Thread Tools
Old 08-18-2009, 12:33 PM   #1
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Ubuntu 9.04 "Jaunty Jackalope"
Posts: 371
Thanked: 0
linking to an ftp server referentially


[Log in to get rid of this advertisement]
hi, i have an ubuntu server set up, it's functioning as an FTP and an HTTP server.

now i use the HTTP server both within my LAN and over the WAN, i presently have 2 different links to my FTP functionality, both lead to the same place but each one only works depending on which side of my router you're accessing the page from.

could anyone help me set the <a href=""> tag to be able to refer to the server with a single link no matter where i am? remembering that this is a single machine
Person_1873 is offline  
Tag This Post , , , , ,
Reply With Quote
Old 08-19-2009, 04:58 AM   #2
catkin
Senior Member
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Slackware 13.0
Posts: 1,853
Blog Entries: 6
Thanked: 226
How about leaving the <a href=""> tag as it is and having a name resolution system on the LAN that resolves the DNS name to a local IP address for LAN users? dnsmasq?
catkin is online now     Reply With Quote
Old 08-19-2009, 07:29 AM   #3
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Ubuntu 9.04 "Jaunty Jackalope"
Posts: 371
Thanked: 0

Original Poster
i already do, but the problem is that all other sites at the same domain would not display if i do that, what i need to know is how to make the link know where it's being accessed from (sort of)
Person_1873 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking a directory for ftp user riemann_noodles Slackware 3 11-15-2006 12:15 AM
Problem in using both load time linking and runtime linking durgaprasad_j Linux - General 0 08-01-2006 04:49 AM
Open VPN - Linking Client to Server elliotfuller Linux - Networking 0 03-01-2006 09:01 AM
How do I block referrers that are linking to my server? needforspeed Linux - Software 1 07-05-2005 09:01 PM
Linking files for ftp users to download AngryKeebler Linux - Newbie 6 09-01-2004 01:08 PM


All times are GMT -5. The time now is 11:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration