Page 1 of 1

How to setup Free DNS ( freedns.afraid.org )

Posted: Sat Mar 26, 2016 2:18 am
by m4th3us
Anyone already installed using this?

And how to access the site using the IP? like http://ip/~user/site

Re: How to setup Free DNS ( freedns.afraid.org )

Posted: Sat Mar 26, 2016 11:11 am
by skamasle
Vesta dont support ~user/website yet

Re: How to setup Free DNS ( freedns.afraid.org )

Posted: Sat Mar 26, 2016 1:09 pm
by dsystem
This would be an excellent resource to be implemented in vestaCP

Re: How to setup Free DNS ( freedns.afraid.org )

Posted: Mon Mar 28, 2016 12:15 pm
by m4th3us

Code: Select all

Enable User_dir module ( apache )
# a2enmod userdir 
# service apache2 restart

<EDITOR> /etc/apache2/mods-enabled/userdir.conf 
Now you need to add the users in the config file, like this line:
	UserDir enabled user1 user2 user3
	
The default user_dir is:
<Directory /home/*/public_html>


The problem now is that users can have more than 1 website, so it would be necessary create virtualhosts for each... but thats the right path...

It worked here, and with time i'm going to thing better way to do this, easy way...

tested on Ubuntu 14.04 - Vesta with apache...

docs:
https://httpd.apache.org/docs/2.4/mod/mod_userdir.html