LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-06-2010, 11:44 AM   #1
fraksken
LQ Newbie
 
Registered: Feb 2010
Distribution: centos
Posts: 13

Rep: Reputation: 0
any url opens same site on debian lenny


Hello,

I installed for the sheer pleasure of it a webserver. includes apache2, postfix mail server, MySQL, MyDNS nameserver, PureFTPd, SpamAssassin, ClamAV, etc etc.
(I have tried to use the config panels ispconfig and webmin)

The situation:
There are 3 sites listed on the server, All 3 on different virtual hosts (obviously). The http access goes trough the 20080 port since my ISP blocks everything below 1024 (the bastards).
I use a linksys router (192.168.1.1) with dmz pointing to 192.168.1.100 (server)
The sites on the server:
inphone.be
fraksken.be
fraksken.is-a-geek.org (but appearently not geek enough)
I also gave them own IP's:
192.168.1.95
192.168.1.96
192.168.1.100
(respectivly)

The problem:
I uploaded a site to the dir of fraksken.be (the first installed domain on the server) and it doesn't matter to what site you go, you'll end up at the site of fraksken.be

I just don't get it anymore.
I setup the correct dns values (I think), the virtual domains are active, and working, the correct dirs are made, ...
There must be something I did wrong since i've tried it with centos and debian, and both end up with the same problems (more or less).
anybody who requests access to the ispconfig panel to view settings or wants ssh, just pm me, I'd be glad to give them if you can help me find the cause of the problem and help me fix and understand it.

P.S. For the installation I used: perfect server guide

I'm thinking the problem should be somewhere in the router maybe?
But should it be, how can I fix it?

Thanks



EDIT:
Apache refuses to bootup again :s
why do my hobbies frustrate me so much :'(

Last edited by fraksken; 02-06-2010 at 12:11 PM. Reason: update
 
Old 02-06-2010, 10:52 PM   #2
noden
LQ Newbie
 
Registered: Aug 2009
Location: Denmark
Distribution: Debian
Posts: 29

Rep: Reputation: 18
It sounds like your router is forwarding all HTTP traffic to 192.168.1.100 on port 20080.
Did you configure your vhosts using domain names or ip numbers?
 
Old 02-07-2010, 06:08 AM   #3
fraksken
LQ Newbie
 
Registered: Feb 2010
Distribution: centos
Posts: 13

Original Poster
Rep: Reputation: 0
hey, thanks for your reply

The vhosts should have been configured to work with any (*) IP. so they should work on domainnames.

Greetz
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Posting to be able to post URL to external site. jeixav LinuxQuestions.org Member Intro 0 12-03-2009 11:15 PM
Mozilla opens URL as local tmp file? phlyersphan Linux - Software 1 11-08-2004 01:24 PM
How do I link a file to a URL site. AZDAVE Linux - Networking 2 10-14-2004 06:30 PM
SWAT URL opens WinProxy :( br_sriram Linux - Software 0 09-24-2004 09:51 AM
View my site on network with url, not the local ip# neyoung Linux - Networking 3 02-02-2004 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration