View Full Version : Raq 4 and Wildcard (homefree) Subdomains
freshfront 10-23-2001, 04:39 AM Can anyone post a simple step by step method for configging wildcard subdomains on an RAQ 4, hosted by rackshack? I havce already tried the various methods prescribed by older posts to no avail. Just editing httpd.conf is not working for me. I use the RAQ as it's own dns server. Thanks in advance.
its also a dns issue, you have to make it so that whatever.domain.com always dns's to one IP.
I have yet to figure how to do it via the admin panel as it constantly says thats * is an invalid character.
AussieHosts 10-23-2001, 12:23 PM We got iRedirector from www.scripts24.com up and running easily enough. We edited the nameserver file for the domain:
/etc/named/pri.domain.com
and included:
*.domain.com. in cname domain.com
Works a treat. Our sysadmin tried the pri.domain.com.include method as described by Cobalt within the root nameserver file but it doesn't seem to be take affect. So, it works now. Full domain and subdomain redirection.
Cheers
Gary
Starhost 10-23-2001, 12:46 PM The method descibed by Cobalt works perfect, I have even written a little PHP script which makes for every pri.domain.com file a pri.domain.com.iclude And in that file there is a wildcard.
Further more I editted the conf files which the raq uses to create a Vhost6 in the httpd.conf file so that for every domain their is a wildcard in the httpd.conf.
And it works perfect!!
em don't suppose you have the script to download somewhere :)
Starhost 10-24-2001, 05:24 PM Not yet,
But probably within 2 weeks. But then you have to remind me to it. Because I'm going to say bye against my raq I can share the script freely among those who are doomed with a raq.
Maybey I'm going to ask a small fee ($5,= for example, just as a symbol for developing the script).
But remind me to make the script open for public within 2 weeks.
where did you put the php script, i would know how to create it, but i don't have php compiled as a binary which makes it difficult to use.
Starhost 10-25-2001, 07:53 AM I compiled PHP also as cgi, so that I can run it form the command line. I putted my file in the /home/sites/ dir. But noone can access it :-)
I decided to screw the raq panel and have started work on my own cpanel. I got the important parts finished, thanks to you explaining i need php as a binary.
I can create subdomains and domains more easily and the server runs off 2 zone files, not one for each domain :)
I got a bit annoyed with the cgi-wrapper though, not letting scripts owned by root execute.
AussieHosts 10-25-2001, 08:35 PM Is your script going open source PPN? :-)
Gary
PPN:
Hi! my name is Avi Brender, I am with Elite Hosts - We wrote our control panel based on the Cobalt CP except ours runs on a standard redhat linux (7.1) installation.. much cheaper :)... Mabey we can team up... mine is almost done... it has all the admin features (When you add the domain, you specify the main username/password too and it automatically creates the DNS records for you! saving you from having to add the domain,user,and dns seperately as with the old cobalts) we have a MySQL control panel for making databases, a reseller cp, a palce for users to add/modify ftp/email settings and its all based on cobalt files, directory structure (/home/sites) etc... the only things lacking are the main admin interface needs a little touching up...
no mailing lists, quotas dont work yet, no backup/restore, and no auto resonders... a sub domain control panel will come soon..
Im also looking into making an API for this control panel to allow customers to add ftp/email/sub domain accounts right from their own page via their own perl script instead of having to use our cp... its just a thought... needs some security thought and whatnot... :)
Have a great day!
yes it will be open source, the only problem with installing it on a raq was that you would have to disable the standard cobalt panel all together. I had some problems with dns records being sorted by the raq panel and the fact they didn't like wildcards caused problems.
eva2000 10-29-2001, 05:52 PM Originally posted by Editor
We got iRedirector from www.scripts24.com up and running easily enough. We edited the nameserver file for the domain:
/etc/named/pri.domain.com
and included:
*.domain.com. in cname domain.com
Works a treat. Our sysadmin tried the pri.domain.com.include method as described by Cobalt within the root nameserver file but it doesn't seem to be take affect. So, it works now. Full domain and subdomain redirection.
Cheers
Gary i'm using iredirector too but tried that workaround but it didn't work :(
AussieHosts 10-29-2001, 06:05 PM *shrug* dunno mate. Working a treat here. But then, others have had more luck with the cobalt method.
Regards
Gary
yeah its working a treat here too, i just added the following to mine
* 14400 IN CNAME pp-network.com.
the file is pri.pp-network.com.include
and elo eva :P i never realised you were on here and vB
Starhost 10-30-2001, 02:22 PM I suggest using:
*.domain.com cname domain.com
Not only *
|