Domain home directory all set to /sharedip

AFL

New member
Joined
Sep 4, 2012
Messages
5
So all domains bring up the same webpage.

Under 'user level' everytime i add a domain it sets the home diretory to

/home/admin/domains/sharedip/
instead of
/home/admin/domains/domainname,.com

So all domains bring up the same webpage. I have been told to correct this i need to add:

ServerName www.domainname,.com
ServerAlias domainname,.com

to the domains <virtualhost> block

I can't see how to do this in DA. Can anyone point me in the direction.

http://i45.tinypic.com/9iejw5.jpg

TIA

Under 'user level' everytime i add a domain it sets the home diretory to

/home/admin/domains/sharedip/
instead of
/home/admin/domains/domainname,.com

So all domains bring up the same webpage. I have been told to correct this i need to add:

ServerName ww*w.domainname,.com
ServerAlias domainname,.com

to the domains <virtualhost> block

I can't see how to do this in DA. Can anyone point me in the direction.

TIA
 
Last edited by a moderator:
Hello,

How does your VirtualHost section look like for the particular domain? How do your virtual hosts templates look like? Post here them so we could check it. Otherwise you should reset all templates to defaults:

Code:
cd /usr/local/directadmin/data/templates
mv -rf custom custom.moved
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue


Related:
- http://help.directadmin.com/item.php?id=3
- http://help.directadmin.com/item.php?id=199
- http://help.directadmin.com/item.php?id=2
 
Don't you own the server? Do you have admin level access into Directadmin?

If you neither have admin access into directadmin nor have root shell access, then you refer to the company from which you buy reseller hosting.
 
Do you know if the "Custom HTTPD Configurations" button under extra features can be enabled/made visible in the 'reseller level' by the server owner? or is this option specific to the 'admin level' screen only?. Thank you
 
That's admin only feature. No way to get it on reseller level... but if to write a plugin... but why?
 
That's admin only feature. No way to get it on reseller level... but if to write a plugin... but why?

...Because we only have reseller level/user level access. The host, quite rightly, doesn't give me admin level access. For some reason every domain we add under user level - DA sets the home directory to /sharedip/ with no way to change it. :mad:
 
I understand your issue, my question why was related to suggested idea to write a plugin. And I don't understand why do you stay with such a company? Note, with all my desire to help you, I can do nothing but suggest moving to another hosting company if the existing can not help you.

But if you send this link to the host admins, we could help them to solve your issue. But it is they who is able to check and fix the issue with your domains. Unless you've got mod_rewrite rules somewhere....
 
Back
Top