By ASasquatchLV
Hi there, today i created a new droplet with Ubuntu 14.04. Than i installed EasyEngine by typing wget -qO ee rt.cx/ee && sudo bash ee
Okay, that worked well.
Tried to access my website through droplets IP adress - http://178.62.202.230/ It works well and showed me nginx welcome page.
Than i wanted to create a simple site with php and mysql support and typed - ee site create mli.lv --mysql
That also went well ,but the problem is, i cant access it. But i want that mli.lv is the main site for my droplet. So i moved the mli.lv folder into html folder and changed the /etc/nginx/sites-available/default.conf this line - root /var/www/html; to this line root /var/www/html/mli.lv/htdocs; but now i am getting 403 forbidden error.
So basicly what i need is that accessing my droplets IP (http://178.62.202.230/ , later gonna changed it to a domain) i access my mli.lv folder, because it’s configured to have php and mysql support and use it as a multisite.
For example. I created another website with EE , but this time with pre-installed wordpress. ee site create gamingsdeal.com --wpsubdir --wpfc and it created a folder named gamingsdeal.com in /var/www/ folder , but what i want is to move that site in mli.lv folder (because that is the main folder for my website) and access it trough my droplets ip, in this case - http://178.62.202.230/gamingsdeal.com , because i’m gonna create and host for a while multiple websites.
But so far i am getting 403 forbidden errors. Can somebody help me with this, please?
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!
Okay, the http://178.62.202.230/ is working now and it’s set in /var/www/html/mli.lv/htdocs , thats good. But the WP site is not working, getting 403 error. And it’s placed in /var/www/html/mli.lv/htdocs/gamingsdeal.com folder and i need it to work like http://178.62.202.230/gamingsdeal.com
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.