Linode Forum
https://forum.linode.com/

Setting up domain
https://forum.linode.com/viewtopic.php?f=19&t=3485
Page 1 of 1

Author:  dibbellas [ Sat Aug 30, 2008 11:01 pm ]
Post subject:  Setting up domain

Hello , im in a little troumble.

I have this domain "tuttecene.com" and i want that it point to my linode server.

On the registrant manager i have set ns1.linode.com and ns2.linode.com for nameserver.

then i have set up the domain with the linode wizard.

the problem is that the domain still point to the other server and not on mine!!

and if i try to edit the a/aaaa section in the linode dns config i have this results

A/AAAA Records
Host Name IP Address TTL Edit Remove
www 72.14.178.196 Default Edit Remove
mail 72.14.178.196 Default Edit Remove
72.14.178.196 Default Edit Remove
www 72.14.178.196 Default Edit Remove

if i try to put www.tuttecene.com the system only add the
www value on the a/aaaa records!

Author:  hybinet [ Sun Aug 31, 2008 3:52 am ]
Post subject: 

1) It takes 24-48 hours for nameserver changes to take effect. If you changed your nameservers recently, you might have to wait a day or two.

2) It's normal for the DNS manager to show only www if you enter an A/AAAA record for www.tuttecene.com. Your domain name shows up at the top of the page, so you don't need to repeat it with every A/AAAA record. "Host name" = subdomain = whatever precedes your domain name.

Author:  dibbellas [ Sun Aug 31, 2008 11:59 am ]
Post subject: 

Thank you all solved.

now the domain point to my linode machine , but i have another question for us ; i have set up sendmail webmin and virtualmin, now when i create a new virtual domain host and i try to restart apache , it write this error message:

root ~ # apache start
ERROR: User directive in <VirtualHost> requires SUEXEC wrapper.

Httpd.conf


Code:

Include /etc/apache/conf.d
NameVirtualHost 72.14.178.196:80




<VirtualHost 72.14.178.196:80>
User "#1001"
Group "#1002"
ServerName tuttecene.com
ServerAlias www.tuttecene.com
ServerAlias webmail.tuttecene.com
ServerAlias admin.tuttecene.com
DocumentRoot /home/dibbo/public_html
ErrorLog /home/dibbo/logs/error_log
CustomLog /home/dibbo/logs/access_log combined
ScriptAlias /cgi-bin/ /home/dibbo/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/dibbo/public_html>
Options -Indexes IncludesNOEXEC FollowSymLinks
allow from all
AllowOverride All
</Directory>
<Directory /home/dibbo/cgi-bin>
allow from all
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.tuttecene.com
RewriteRule ^(.*) http://tuttecene.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.tuttecene.com
RewriteRule ^(.*) https://tuttecene.com:10000/ [R]
</VirtualHost>




Ok i don't want to use cgi and i don't need suEXEC, i have to recompile Apache including --enable-suexec option in configure? or i can override localy with some flag?

thanx in advance

Author:  hybinet [ Sun Aug 31, 2008 2:29 pm ]
Post subject: 

Try removing the following from your VirtualHost config:

Code:
User "#1001"
Group "#1002"


Or better yet, see if your Virtualmin is configured to use SuExec, and disable it. (I haven't used Virtualmin for a while so I can't rememeber exactly where you can do this, but you might have to go to Webmin and find something that has to do with Apache modules.)

Author:  sleddog [ Sun Aug 31, 2008 8:14 pm ]
Post subject: 

In Virtualmin, you can go to:

System Settings > Server Templates > Default Settings

and then select Apache Website from the dropdown list.

You'll see an option "Automatically add appropriate Suexec directive? Yes/No"

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/