home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Apache on dynamic ip / port redirect

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2632
Discussions: 200,999, Posts: 2,380,010, Members: 246,368
Old February 21st, 2008, 11:49 PM   Digg it!   #1 (permalink)
Member
 
Join Date: Aug 2004
Posts: 52
Apache on dynamic ip / port redirect

Hello all

I've been using apache on fios (a no no, I know lol) and was curious if it's possible to replace the ip in urls with the redirect hostname.

I've got a no-ip address pointing to my server on port 82, and it works fine however when you hover over a link you see the ip address instead of the redirect url. This is in file lists, php, html, anything that uses relative url's. Being a dynamic ip that kind of makes bookmarks sucky for people.

So basically, is there a way to make apache force "http://xxx.xxx.xxx.xxx:82/" to my "http://server.no-ip.com/" when pages are rendered?
dystopia is offline   Reply With Quote
Old February 22nd, 2008, 11:26 PM     #2 (permalink)
Ultimate Member
 
kenboyles72's Avatar
 
Join Date: Aug 2004
Location: Gladewater, TX
Posts: 1,189
Send a message via MSN to kenboyles72
In your http.config file, there should be a line for "Server Name". Type the name of your server without the www. IE, yourserver.com.
kenboyles72 is offline   Reply With Quote
Old February 23rd, 2008, 05:35 PM     #3 (permalink)
Member
 
Join Date: Aug 2004
Posts: 52
I have that set to the redirect name already. Restarted apache, and then the entire box and it's still displaying the IP instead of the redirect as the root of links. Even cleared cache and ctrl-F5'd. Kind of at a loss as to why it wouldn't work.

Edit-- Found the problem, feel dumb now. Initially the httpd.conf variable didn't have quotation marks, so I left them out and just put the url. Adding the quotations after noticing document root had them fixed it.

Thanks.

Last edited by dystopia : February 23rd, 2008 at 05:38 PM.
dystopia is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirect Germain Technical Support 2 November 20th, 2007 07:39 PM
Apache on Redhat Linux: Dynamic Virtual Hosts racing_fire Webmastering and Programming 0 December 12th, 2005 11:13 PM
URL Redirect... Sinister Spanky IMO Community 2 July 30th, 2005 11:29 AM
How to set up an apache server behind a router with dynamic IP addresses gbupc Networking and Internet 6 March 25th, 2004 12:22 AM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (3111)
‘Rogue’ or ‘Rouge’? (9)
Charges against non-tippers dropped.. (22)
Foxconn Blackops x48 MoBo (5)
Nvidia GTX 260 problem (14)
Delete an OS (18)
Laptop with wireless problem. (13)
Wireless Televisions. (12)
CPU fan stops spinning randomly (11)
Regular Build (11)
[F@H SPAM 11/16/09] ! 1/2 months to.. (42)
Point and Shoot Camera Suggestions. (9)
windows vista security holes (19)
windows 7 problem (7)
Recent Discussions
[F@H SPAM 11/16/09] ! 1/2 months to r.. (42)
add ram to existing (4)
Computer shutting down on its own (6)
EVGA 9800 gtx help with finding a goo.. (13)
"Documents and Settings" fo.. (7)
Delete an OS (18)
Outputing 1080p from my PC to my 720p.. (0)
panasonic dmr ez48veb recorder (0)
Need help getting speakers to work (2)
Nvidia GTX 260 problem (14)
Laptop with wireless problem. (13)
Point and Shoot Camera Suggestions. (9)
Is the PSU I received dead? (16)
FreeAgent drive software not x64 comp.. (1)
Intel 5100 AGN issues fixed yet? (28)
Foxconn Blackops x48 MoBo (5)
Print spooler problem (17)
Q9650 vs. Q9550 (2)
Desktop Calendar Application (2)
Looking for new motherboard (1)
soundmon.exe (8)
Jedi Academy Problem (3)
Can a page file be "too big".. (1)
Size after cutting 700Mb file is 2.5 .. (0)
windows vista security holes (19)


All times are GMT -4. The time now is 02:40 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28