Solved

Apache/mandrake10/dlink router/port 5800

Posted on 2004-09-17
12
288 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
 

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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
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…
This video discusses moving either the default database or any database to a new volume.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

757 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now