Solved

Apache/mandrake10/dlink router/port 5800

Posted on 2004-09-17
12
295 Views
Last Modified: 2010-03-04
hi i'm running linux mandrake 10. i use a router to connect a winxp machine. the router is a dlink di704-up.

in the past i could dialup and run apache and i could allow other people to see my webiste on my computer.

then i went to cable and had to change the port to 5800.

that is all well and good but how to do it with my new router?

thanks in advance.

_mike_h
0
Comment
Question by:solodiver
[X]
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
  • 8
  • 4
12 Comments
 
LVL 9

Expert Comment

by:ronan_40060
ID: 12091033
Hello solodiver
what you need to do  is  to go to the router configuration page.  Usually you would do so by going to the router address .  Then type in the username/pass.  Unless you changed them, it should be admin & admin by default.  Then you  look at the firewall section along with the port forwarding section. and forward it that port
Bon Weekend
Ronan
0
 

Author Comment

by:solodiver
ID: 12098423
ok i changed to router to send port 5800 to my linux ip address.

now i need to change the httpd.conf file in apache so i can have it listen to port 5800.

oddly enough i could NOT find a httpd.conf file,
 
but i could find a httpd2.conf file

the two files (httpd.conf and httpd2.conf) seem to be similar but not the same as i've experience din the past

1. Why is there a httpd2.conf file instead of a httpd.conf file in ect/httpd/conf directory
    (is it because i installed another version of apache on this computer?)
    (or are these two files different from one another)

2. what do i type, exactly, in the console to STOP APACHE from running.  and from withing which directory do i type it.

do you need to see the httpd.conf file?

_mike_h
0
 
LVL 9

Expert Comment

by:ronan_40060
ID: 12100005
Hi Mike

1> You see the two httpd.conf files as one probably is normal web server http.conf and the second one is for your proxy / router file . this is what i think


2> you normally find it in /etc/httpd/conf/httpd.conf
    to stop apache /etc/rc.d/init.d/httpd stop
for starting and stopping you dont need to open httpd.conf

let me know how it goes
Good luck
ronan
0
Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

 

Author Comment

by:solodiver
ID: 12100241
actually there is no httpd.conf file in /etc/httpd/conf/


there is only  /etc/httpd/conf/httpd2.conf


odd huh,

_mike: H
0
 
LVL 9

Expert Comment

by:ronan_40060
ID: 12100305
We have to assign the port no 5800 in httpd2.conf only
0
 

Author Comment

by:solodiver
ID: 12100332
ok, thot so.

did that and i can get to my website internally (http://192.168.2.161:5800).

can't seem to get to it outside of my network.

i think i can say for sure that the router is configured correctly to forward port 5800, otherwise http://192.168.2.161 :5800 wouldn't work. so i find it odd that my Internet ip 68.228.225.220:5800 doesn't work.

now before i setup my router i did have a fully funtional website working on port 5800 with the same internet service provider.

so my question, in a nutshell, is what am i missing with my current router/computer/whatever configuration.

i know it's a tough question if you're not infront of the router web interface.

of course i can make screenshots of the router iterface if needed.

btw it is a d-link di-704up 4 port broadband router with a print server (usb).

only using 2 ports one with xp and one with linux mandrake 10.

_mike..hoy_
0
 

Author Comment

by:solodiver
ID: 12100348
note.  above i wrote: [odd that my Internet ip 68.228.225.220:5800 doesn't]

what i meant was [odd that my Internet ip HTTP://68.228.225.220:5800 doesn't ]

thx.mike
0
 

Author Comment

by:solodiver
ID: 12100360
oh and one more thing, firewall is off

0
 

Author Comment

by:solodiver
ID: 12100572
ok, it's 3 am my time and none of my friends are online so could one of you check my site for me, lol

it must be working now.

http://www.solodiver.net/

thanks for ALL of your help, your all quite good and nice and helpful.

it's totally worth paying the 10 dollars a month and i hope you get out of this what you expect to, points, satisfaction , whatever it is.

have a good one folks,

buenos, noches

Mike!
0
 

Author Comment

by:solodiver
ID: 12100659
actually i have another related question, sorry , don't want to start all over again

here's the sitch,

i have www.no-ip.com forwarding my domain www.solodiver.net  to my ip address (although it's dynamic they have a small application that updates the ip as cable net changes my ip)

and no-ip.com allows you to forward the specific port i want, in my case i use one that the cable company doesn't block.

so it all works and that is great.

but is it possible to have my linux mandrake 10 box resolve my domain itself?

(_mike~h_)
0
 

Author Comment

by:solodiver
ID: 12101609
by the way, check out my site, http://www.solodiver.net

it's odd,

when you are on the main page, of course, it shows http://www.solodiver.net/  in the address bar,

when you click on a link the url stays the same...

then when you click on a link to a different web site altogether (opening within the same window) you still get my domain in the url.

now this isn't that big of a deal but i do find it odd and should be within my power to control it, or rather you experts have the power i just ask that you give it to me, so we both can have it.

lol

_)mike(_
0
 
LVL 9

Accepted Solution

by:
ronan_40060 earned 500 total points
ID: 12101678
Mike sorry for not responding for a while as I had a telephone interview :)
well yes I ca see and visit your site http://www.solodiver.net/
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

707 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