Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Setting up domain
PostPosted: Sat Aug 30, 2008 11:01 pm 
Offline
Senior Newbie

Joined: Sat Aug 30, 2008 10:24 pm
Posts: 7
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!


Top
   
 Post subject:
PostPosted: Sun Aug 31, 2008 3:52 am 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
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.


Top
   
 Post subject:
PostPosted: Sun Aug 31, 2008 11:59 am 
Offline
Senior Newbie

Joined: Sat Aug 30, 2008 10:24 pm
Posts: 7
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


Top
   
 Post subject:
PostPosted: Sun Aug 31, 2008 2:29 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
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.)


Top
   
 Post subject:
PostPosted: Sun Aug 31, 2008 8:14 pm 
Offline
Senior Member

Joined: Sun Aug 31, 2008 4:29 pm
Posts: 177
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"


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group