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

Apache/mandrake10/dlink router/port 5800

Posted on 2004-09-17
12
292 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
  • 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

791 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