Web Hosting Talk







View Full Version : My RaQ3 questions


eva2000
12-13-2000, 12:36 PM
Horay ! the dns is working now. I am using tera-byte.com's dns control panel instead. Ftp and telnet speed are fast now and the little machine is quite powerful (not that any of my indevelopmen sites get much traffic yet)

Questions.. questions... questions :) Where should i start ?

1. Installing MySQL and PHP4
- okay thanks to some threads here i managed to search and find more than 1 way to install MySQL and PHP4 on a Raq3 server. Thanks to Felix C. for sending me the MySQL 3.22.32 installation instructions. But i am a bit confused by them. Felix you forgot the PHP4 instructions though..

There's for MySQL
- http://pkg.nl.cobalt.com/howto/casp_mysql_howto.html
- http://list.cobalt.com/pipermail/cobalt-developers/2000-December/003279.html
- http://list.cobalt.com/pipermail/cobalt-users/2000-June/014663.html
- http://qube-users.qube.de/maillists/cobalt-users/2000-August/msg00281.html
- http://list.cobalt.com/pipermail/cobalt-users/2000-November/024828.html

For PHP4
- http://list.cobalt.com/pipermail/cobalt-users/2000-November/024827.html

This is all confusing, rpm vs binary ? Has anyone gotten MySQL 3.23.28 to install and work on a RaQ3 ? I suppose that would have to be done via a binary from MySQL.com ?


2. RaQ3 site management ?
- i created a virtual site and added a domain, mydomain1.com to ip 111.111.111.111 for example, and then wanted to point the .net version mydomain1.net to 111.111.111.111 as well. Problem when i added the dns in

so both mydomain1.com and mydomain1.net point to 111.111.111.111 - if i enter mydomain1.net it resolves and shows mydomain1.com ?

- also i want to point a domain to a subdomain of another domain i.e. domain1.com -> subdomain.domain2.com but domain1.com resolves to domain2.com instead ? I added dns entries for subdomain.domain2.com to point to domain2.com's ip address and added a cname entry for domain1.com to alias subdomain.domain2.com

3. Basic telnet/ftp commands :(
Still a newbie and i have tried to read up on most of the commands just missing a few :)

tar command - can i untar a tar file into a directory named other than the one it was created from ? i.e. if i did

tar cvf mysite.tar html

where the directory html was tarred into a file named mysite.tar. But i want to untar it into a directory named htdocs ?

deleting entire directory via telnet ? - how's tha done ? i.e. i want to delete the directory /html ?

moving content only of one directory into another directory name ? - how do i move the entire contents of directory named, direct1 to the directory named direct2 where

/html
/direct1
/direct2

?

4. Editing domain's root directory to point to sub directory of another domain ?
- how do i point domain1.com's root directory to domain2.com/subdirectory/ ?

i appreciate the help and this thread could document the questions for others as well :D

cisites
12-13-2000, 01:26 PM
Great instrctions for installing PHP over at http://sitepointforums.com/showthread.php?threadid=12816

jonese
12-13-2000, 03:51 PM
on my RaQ 3 i found that you have to install the RPMS for the MySQL, and i used the binaries for PHP4. (since i could only find the RPMS for php 3.x)

I tired installing via the binaries for MySQL and it just didn't run. kept starting up and shutting down 1 sec later.. but with the RPMS it runs fine.

Chicken
12-14-2000, 09:00 AM
Originally posted by eva2000.com
2. RaQ3 site management ?
- i created a virtual site and added a domain, mydomain1.com to ip 111.111.111.111 for example, and then wanted to point the .net version mydomain1.net to 111.111.111.111 as well. Problem when i added the dns in

so both mydomain1.com and mydomain1.net point to 111.111.111.111 - if i enter mydomain1.net it resolves and shows mydomain1.com ?

- also i want to point a domain to a subdomain of another domain i.e. domain1.com -> subdomain.domain2.com but domain1.com resolves to domain2.com instead ? I added dns entries for subdomain.domain2.com to point to domain2.com's ip address and added a cname entry for domain1.com to alias subdomain.domain2.com

I read this once, was completely confused, read it again - thought I understood it, then read it again to reply and haven't gotten it since. I just woke up and will need to read it about 2-3 more times :) Maybe what I put below for #4 will help with this?

4. Editing domain's root directory to point to sub directory of another domain ?
- how do i point domain1.com's root directory to domain2.com/subdirectory/ ?

This is what I do for a quick and easy redirect. The RaQ tedns to overwrite things, and using a .htacces file ensures that it will be fine.

DNS and set up the domain1.com as you normally would. Now you want it pointing to domain2.com/subdirectory, so copy (or retype, in case of formatting problems) this .htaccess file and upload it to domain1.com's 'web' directory (the site's 'web' directory):


RewriteEngine on
RewriteBase /
RewriteRule ^(.*)$ http://www.domain2.com/subdirectory/$1 [P]


This might work to solve whatever problem you had above as well. I really don't know. I lost the point on that one above :)

eva2000
12-14-2000, 09:49 AM
okay i'll use the real domains

the main site is

http://i4portables.com/

i want this site url to show up in browser url boxes without the 'www' in it. But typing that domain in without 'www' still it resolves to http://www.i4portables.com/

That's one problem.

Another is domain pointing to subdomain.

I want this domain - http://i4handhelds.com/ to point to
http://handhelds.i4portables.com/

and this domain - http://i4pdas.com/ to point to
http://pdas.i4portables.com/

unfortunately those domains all go to http://www.i4portables.com/

i setup i4portables.com, i4handhelds.com and i4pdas.com all on the same IP address.

It use to work on my Red hat linux server on rackspace so i know it works. Just doing the same as i did on the raq3 ain't giving me the same results :(