By romuloctba
Hi all I have set up my droplet, sucessfully instaled ispconfig3 with nginx.
First, the domain I added was pointing to default nginx folder, instead of ipsconfig created one for the site. Now both domains point to same folder (that would be the one of the descomplicada.com.br , but the other one does not work.
As i didn’t know wich info would be helpfull to make you understand the mess i did, i made this album: http://imgur.com/a/rshuz there, you can check the ispconfig3 screens and also the dns in Digital Ocean’s panel
myuser@crescernavida:/var/www/descomplicada.com.br# hostname -f crescernavida.com.br
thank you in advance for you time
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
first of all, your DNS is not really configured the right way… <br> <br>Look here: <br>http://s45.photobucket.com/user/hxt57/media/downsvn-dns_zps0f4f8fd0.jpg.html <br> <br>each domain is going to have the same setting, but different domain name so there is no issue, no worries. <br> <br>P.S, you don’t need the mail record as shown in the url provided though… <br> <br>now you can create each domain a vhost like this with different root path: <br> <br>server { <br> listen 80; <br> <br> server_name yourdomain.com; <br> <br> root /PATH/TO/WEBROOT; <br> <br> error_page 404 errors/404.html; <br> access_log logs/star.yourdomain.com.access.log; <br> <br> index index.php index.html index.htm; <br> <br> location ~* .(jpg|jpeg|gif|css|png|js|ico|html)$ { <br> access_log off; <br> expires max; <br> } <br> <br> location ~ /.ht { <br> deny all; <br> } <br>} <br> <br>check it out here: http://wiki.nginx.org/ServerBlockExample <br> <br>http://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-nginx-bind-dovecot-ispconfig-3-p4
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.