Question

OLS WordPress from Marketplace does not work. 404 page. No interactive script after SSH with root

I am trying out the OLS+WP from the Marketplace.

https://marketplace.digitalocean.com/apps/openlitespeed-wordpress

According to the guide (https://docs.litespeedtech.com/cloud/wordpress/#quick-start), after deploying the droplet…

1 - I should be able to see the OLS landing page when accessing the site using IP address – I see OLS 404 page instead 2 - When I SSH with root (using SSH key), an interactive script should load to complete the installation. Nothing there. I got a command prompt like always.

I can cd to /var/www/html and see the WordPress files there though.

Am I missing something? At this point, I am not sure what to do. Should I use the Marketplace or maybe I should just teach myself OLS and set this up by hand… Thought that I could test WP on OLS quickly though. I don’t OLS. Only have experience with Apache.

Show comments

Submit an answer


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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

I was able to solve it by following steps:

  1. Login into LiteSpeed Admin at https://your_droplet_ip:7080
  2. Go to “Listener” menu item
  3. Look at the “Listener name” column and you will see 2 rows “Default” & “Defaultssl”
  4. Click on each row and go to the detail, there you will see “Virtual Host Mappings” at the bottom of the tab “General”.
  5. Edit it and change the domain to “your_droplet_ip”.
  6. Save and restart LS server when you are done for both “Default” & “Defaultssl”
  7. After that you have to SSH to the Droplet and start the MySQL by yourself because the MySQL server is not running.
service mysql start

Done.

Now we can access http://your_droplet_ip and we now can install Wordpress normally.

Making Accessible by CouchDB

In order for CouchDB to be able to access and use the certificates, you will need to make sure they are owned by the CouchDB user. Additionally, you will want to restrict other users from accessing these files by modifying the permissions to 600 (only owner can read and write).

Configuring CouchDB To Use The Certificates Finally, we get back to our CouchDB server. Open up your local.ini file. On Ubuntu, this file can be found in /usr/local/etc/couchdb or /etc/couchdb/local.ini.

Add the following key value pairs to the specified sections:

[daemons] httpsd = {couch_httpd, start_link, [https]} [ssl] port = 6984 key_file = /path/to/ssl/certs/server.key cert_file = /path/to/ssl/certs/server.crt

If self signed, the following file is not needed:

cacert_file = /path/to/ssl/certs/comodo.crt

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.