Web Hosting Talk







View Full Version : Complete Newbie got hands on a raq4


vinylnet
09-26-2005, 05:18 PM
I have just got a raq4 for playing about with really - learning curve and all that with the hope of serving our businesses pages from it.

I also have some mates that would like to serve from it.

I have a broadband connection into my home coming with a linux machine, a winXP, a Mac Powerbook and I have a qube 2(although not used at the moment) all plugged into a Netgear ADSL WAG?? router.

The Winxp and Mac are wireless connection.

All have fixed IP's

I have amended the 'A' DNS records at my ISP to point all traffic for www . mydomain . com and webserver . mydomain . com to my home IP address.

I have set up several virtual sites on my raq at 192 . 168 . 10 . 101, 102, 103 etc..

How do I get the external browsers to pick up the different sites i.e. shop . mydomain . com, webserver . mydomain . com or is this not possible with the equipment I have.

I understand it is DNS records but how do I set up my internal network to do this?

Do I set up my DNS server settings on my other machines to point at the raq?

Sorry if this is a stupid question but cant seem to get this.

Thanks in advance.

BruceT
09-26-2005, 05:31 PM
You need to have DNS records for any domain that's on the RaQ. If you set up a wildcard for *.example.org to go to your home IP, that will cover all the bases. Once the requests come in, Apache will sort it all out automagically as long as you have a virtual site or an alias set up for each host (shop, etc).

vinylnet
09-27-2005, 01:31 PM
First thanks for your prompt reply!!

So let me get this straight. I configure the A record on the DNS for my domain name at easyspace to * . mydomain . co .uk

This will then point all traffic to my home ip address.

It will then come through my adsl router on port 80 and the firewall with shove it through to 192.168.10.100 which is the raq server.

My DNS server on the raq has 2 records in it

mydomain .co.uk -> 192 .168 .10 . 100
192. 168. 10. 100/24 -> mydomain .co.uk
mydomain .co.uk mail is sent to the High priority mail server webserver

the address for the raq is webserver. mydomain .co.uk

the virtual sites are shop . mydomain .co.uk & board .mydomain . co.uk

These should now be picked up and routed by the raq?

Because as soon as i type into a browser shop .mydomain .co.uk it changes to webserver . mydomain .co.uk and shows pages on 192. 168 .10 .100

Thanks in advance ----- again!

BruceT
09-27-2005, 01:56 PM
So let me get this straight. I configure the A record on the DNS for my domain name at easyspace to * . mydomain . co .uk This will then point all traffic to my home ip address.

Yes, that's correct. The A record for *.mydomain.co.uk should point to the IP of your DSL router.

It will then come through my adsl router on port 80 and the firewall with shove it through to 192.168.10.100 which is the raq server.

If you have configured the router to forward port 80 traffic, yes. You will also want to forward other ports, like 25 for mail, 22 for ssh, 81 for the admin UI, etc.

My DNS server on the raq has 2 records in it

mydomain .co.uk -> 192 .168 .10 . 100
192. 168. 10. 100/24 -> mydomain .co.uk
mydomain .co.uk mail is sent to the High priority mail server webserver

The DNS server on the RaQ is irrelevant unless you have modified your domain registrar record to use your DSL IP as your name server IP (not advisable BTW).

the address for the raq is webserver. mydomain .co.uk. the virtual sites are shop . mydomain .co.uk & board .mydomain . co.uk
These should now be picked up and routed by the raq?

If the DNS info change has propogated, yes.

Because as soon as i type into a browser shop .mydomain .co.uk it changes to webserver . mydomain .co.uk and shows pages on 192. 168 .10 .100

Did you set up a separate virtual site shop.mydomain.co.uk or is it a web server alias for webserver.mydomain.co.uk? Unless it's a separate subdomain, it won't keep the domain name in the URL.

vinylnet
09-27-2005, 02:05 PM
All the virtual sites have been set up with the Control Panel / Site Settings on the raq

so I have shop . mydomain .co.uk & board . mydomain .co.uk

these are both virtual sites on the raq with different ip addresses.

I can access them fine by typing in the ip addresses on my local network just not from a computer outside my network.

I test these by remote desktop connection to my work and test the web addresses from the browser remotely.

if you type in shop . mydomain .co.uk it changes in the browser to webserver . mydomain .co.uk and accesses the site which is hosted on 192.168.10.100 (which is the main raq site).

Thanks

BruceT
09-27-2005, 02:17 PM
If they have separate IPs they won't get traffic passed to them. All traffic coming into the firewall/router will be sent to a single IP on the RaQ. You can have the same IP on multiple sites, with two limitations: if you are doing anything with SSL, only one site per IP can have SSL enabled. Same for Anonymous FTP.

Maybe try setting the IPs on all sites to be the same as your base site, and see if that works.

vinylnet
09-27-2005, 02:25 PM
I owe you a pint my friend!!!!

Thankyou - that worked a treat - as simple as that eh?

I didn't realise that you could host different site names on same ip.

Now I get it . If I had another IP from my ISP I can point that address to another IP on the server and run other sites with ssl.

Thankyou so much for all your help.

Other than that - I have a cobalt qube - can that be run as a nameserver in between the raq and router to route the names about?

Anyway thats another problem for another day - just glad to be up and running now.

Thanks again.

BruceT
09-27-2005, 02:30 PM
You shouldn't need a nameserver between the router and the RaQ. You want all traffic on port 80 to just go seamlessly between them. So a packet arriving at the router is transported to the RaQ with no modification, etc., and the RaQ will figure out what to do.

Now, if you wanted your RaQ to get different results when doing DNS queries (i.e., you wanted to simulate Yahoo, Google, etc from the RaQ's point of view), you could set up the Qube as a DNS server, populated with whatever entries you wanted, and set the RaQ to query the Qube as its primary DNS server. But then you would lose the ability to query external domains on the internet, etc.

I think you're best off with the system as-is for the moment. Use the Qube as a file server or something.

vinylnet
09-27-2005, 02:32 PM
At the moment its just somewhere to stick post it notes!!

vinylnet
09-27-2005, 02:48 PM
Only one problem now, can't FTP into sites i get the following message:

STATUS:> Getting listing ""...
STATUS:> Connecting to FTP server 192.168.10.100:21 (ip = 192.168.10.100)...
STATUS:> Socket connected. Waiting for welcome message...
500 Sorry, no server available to handle request on webserver. mydomain .co.uk
ERROR:> Syntax error, command unrecognized.

Any thoughts ................

vinylnet
09-27-2005, 03:02 PM
cant access web sites from local network because the router thinks I am trying to log into it so everytime I enter shop . mydomain .co.uk it brings me up the login screen for my router.

If I enter the IP address I can only access 192.168.10.100 - the main site.

I suppose I can set the IP to a different one while working on it and then change it back to 100 when finished but there must be a way around this.


I have a Lucient Max 3000 thing here - is that any sort of router that could replace the netgear one?

BruceT
09-27-2005, 04:07 PM
You can always make entries in your hosts file on your workstation, telling it what IP to associate with each domain name.

vinylnet
09-27-2005, 04:20 PM
FTP Service seems to have died in the process - the status monitor says there is a problem with it!

Killed it somewhere!

Tried reboot with service off then turning it back on again but nothing.

vinylnet
10-02-2005, 06:19 PM
My webserver is working fine now except I am unable to FTP into it at all:

I get the message:

STATUS:> Getting listing ""...
STATUS:> Connecting to FTP server 192.168.10.100:21 (ip = 192.168.10.100)...
STATUS:> Socket connected. Waiting for welcome message...
ERROR:> Can't read from control socket. Socket error = #10054.

There seems to be a problem with the service as the Status Manager in the browser setup is flashing yellow.

Am totally baffled by this.

Does the proftpd service lock after so many bad attempts or has configuring the virtual hosts all to the same IP messed up the service?

I need this service running so I can move all our sites over to this server.

Thanks in advance.

BruceT
10-02-2005, 07:18 PM
Are you forwarding port 21 traffic from the router/modem to the RaQ?

vinylnet
10-03-2005, 04:50 PM
All traffic from router on 21 is being forwarded to the raq - the raq Status monitor is saying there is a problem with the FTP service.

It was working fine before but now seems to have died.

aeronuts2005
11-02-2005, 11:43 PM
H i there,

I downloaded a Qube3 OS and installed it to my RaQ3. After installation, it said to press the power off... after restarting., My cobalt displays only " Sun Cobalt" and below it is a moving cube that transfer from left to right....is it normal? if not did I do something wrong? thanks and more power


Jay