Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Apache/mandrake10/dlink router/port 5800

Posted on 2004-09-17
12
Medium Priority
?
298 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
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 

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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
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…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month9 days, 7 hours left to enroll

609 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