Solved

Apache/mandrake10/dlink router/port 5800

Posted on 2004-09-17
12
293 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
Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 

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

Suggested Solutions

Title # Comments Views Activity
phpmyadmin installation 3 74
htaccess file errors for 301 Redirect 4 93
WordPress website error - Unable to access website. 5 69
PHP: Insert Data into MySQL 5 61
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

713 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