Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

SubDomains and a RAQ4

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
Cobalt RAQ4 - Disable POP - Hi All I have a RAQ4 server that I want to host web mail services from - is there an easy way to disable POP3 so the users have to use the web mail (As I don't want the clever users to figure out they can use POP3) Thanks
Next:  Apache: problem with perl  
Author Message
user2452

External


Since: Aug 31, 2003
Posts: 3



(Msg. 1) Posted: Mon Sep 01, 2003 2:00 am
Post subject: SubDomains and a RAQ4
Archived from groups: alt>apache>configuration (more info?)

Another sub-domain question.

This may not be the proper place, but I can't seem to get an answer from Sun
on this.

I have a Cobalt Raq 4 with all current patches, but default installs of
software.

I want to create subdomains that are controlled by one login. I am use to
using something like Cpanel that creates the sub domain and allows it to be
administered by the same user and the main domain.

Right now, the Raq creates a Virtual site/host like www.domain.com and then
the user directories are www.domain.com/~user.

I want to create a sub-domain like: subdomain.domain.com and have it point
to the www.domain.com/~user directory.

I have read through the Docs on Apache on Virtual Hosts, I have added a sub
domain entry pointing to my name servers for the sub, and I THOUGHT I did
the virtual host change in httpd.conf file correctly, but when I restarted
httpd, it didn't come up Sad

Any insight on the Raq4 and sub domains would be greatly appeciated.

 >> Stay informed about: SubDomains and a RAQ4 
Back to top
Login to vote
user2431

External


Since: Aug 21, 2003
Posts: 23



(Msg. 2) Posted: Mon Sep 01, 2003 3:57 pm
Post subject: Re: SubDomains and a RAQ4 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"L DeFoor" <les.d4 DeleteThis @comcast.net> escribió en el mensaje
news:LNWcnbtj_PAWfc-iXTWJjQ@comcast.com...
 > I want to create a sub-domain like: subdomain.domain.com and have it
point
 > to the <a style='text-decoration: underline;' href="http://www.domain.com/~user" target="_blank">www.domain.com/~user</a> directory.
 >
 > I have read through the Docs on Apache on Virtual Hosts, I have added a
sub
 > domain entry pointing to my name servers for the sub, and I THOUGHT I did
 > the virtual host change in httpd.conf file correctly, but when I restarted
 > httpd, it didn't come up Sad

First of all, does subdomain.domain.com resolv into your server's IP?
Domains and subdomains must be configured first in a DNS server.

Examples:

alvaro@linux1: ~ $ host <a style='text-decoration: underline;' href="http://ftp.lycos.com" target="_blank">ftp.lycos.com</a>
<a style='text-decoration: underline;' href="http://ftp.lycos.com" target="_blank">ftp.lycos.com</a> has address 209.67.228.129
<a style='text-decoration: underline;' href="http://ftp.lycos.com" target="_blank">ftp.lycos.com</a> has address 207.82.58.14

alvaro@linux1: ~ $ host <a style='text-decoration: underline;' href="http://ftp.yahoo.com" target="_blank">ftp.yahoo.com</a>
Host <a style='text-decoration: underline;' href="http://ftp.yahoo.com" target="_blank">ftp.yahoo.com</a> not found: 3(NXDOMAIN)

<a style='text-decoration: underline;' href="http://ftp.lycos.com" target="_blank">ftp.lycos.com</a> is a usable subdomain, <a style='text-decoration: underline;' href="http://ftp.yahoo.com" target="_blank">ftp.yahoo.com</a> is not.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: SubDomains and a RAQ4 
Back to top
Login to vote
user2452

External


Since: Aug 31, 2003
Posts: 3



(Msg. 3) Posted: Mon Sep 01, 2003 3:57 pm
Post subject: Re: SubDomains and a RAQ4 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Right now, if I type in subdomain.domain.com it takes me to my servers MAIN
page. Not the SubDomain. So, to answer your question, I would say that
subdomain.domain has address of my main virtual server and yes it resolves.

For some reason, it just seems as though when I type in
subdomain.domain.com, it does not go to the domain.com/~user directory, it
defaults back to my main site.


 > First of all, does subdomain.domain.com resolv into your server's IP?
 > Domains and subdomains must be configured first in a DNS server.
 >
 > Examples:
 >
<font color=purple> > alvaro@linux1: ~ $ host <a style='text-decoration: underline;' href="http://ftp.lycos.com</font" target="_blank">ftp.lycos.com</font</a>>
 > <a style='text-decoration: underline;' href="http://ftp.lycos.com" target="_blank">ftp.lycos.com</a> has address 209.67.228.129
 > <a style='text-decoration: underline;' href="http://ftp.lycos.com" target="_blank">ftp.lycos.com</a> has address 207.82.58.14
 >
<font color=purple> > alvaro@linux1: ~ $ host <a style='text-decoration: underline;' href="http://ftp.yahoo.com</font" target="_blank">ftp.yahoo.com</font</a>>
 > Host <a style='text-decoration: underline;' href="http://ftp.yahoo.com" target="_blank">ftp.yahoo.com</a> not found: 3(NXDOMAIN)
 >
 > <a style='text-decoration: underline;' href="http://ftp.lycos.com" target="_blank">ftp.lycos.com</a> is a usable subdomain, <a style='text-decoration: underline;' href="http://ftp.yahoo.com" target="_blank">ftp.yahoo.com</a> is not.

 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: SubDomains and a RAQ4 
Back to top
Login to vote
user2431

External


Since: Aug 21, 2003
Posts: 23



(Msg. 4) Posted: Tue Sep 02, 2003 12:53 pm
Post subject: Re: SubDomains and a RAQ4 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"L DeFoor" <les.d4.RemoveThis@comcast.net> escribió en el mensaje
news:ZZKdnbY7MZYAHc6iXTWJkQ@comcast.com...
 > Right now, if I type in subdomain.domain.com it takes me to my servers
MAIN
 > page. Not the SubDomain. So, to answer your question, I would say that
 > subdomain.domain has address of my main virtual server and yes it
resolves.

Then, it's just a matter of using a VirtualHost directive similar to this:

<VirtualHost *>
ServerName subdomain.domain
DocumentRoot /home/user/htdocs
</VirtualHost><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: SubDomains and a RAQ4 
Back to top
Login to vote
user2452

External


Since: Aug 31, 2003
Posts: 3



(Msg. 5) Posted: Tue Sep 02, 2003 8:32 pm
Post subject: Re: SubDomains and a RAQ4 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Alvaro,

That is what I thought. Copied one of the existing virtual host commands
and replaced everything with the proper SUDOMAIN info and the httpd daemon
wouldn't even start.

Very bizaare. I will try once again and see if it works.

Thanks

Les
 >> Stay informed about: SubDomains and a RAQ4 
Back to top
Login to vote
user2431

External


Since: Aug 21, 2003
Posts: 23



(Msg. 6) Posted: Wed Sep 03, 2003 4:42 pm
Post subject: Re: SubDomains and a RAQ4 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"L DeFoor" <les.d4.DeleteThis@comcast.net> escribió en el mensaje
news:waydneN7370Zq8iiU-KYuQ@comcast.com...
 > That is what I thought. Copied one of the existing virtual host commands
 > and replaced everything with the proper SUDOMAIN info and the httpd daemon
 > wouldn't even start.

Check the exact error:

/etc/rc.d/init.d/httpd configtest
cat /etc/httpd/logs/error_log
....<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: SubDomains and a RAQ4 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]