By t0mkaka
I was trying to install prestashop 1.6.0.2 with the help of following tutorial http://blobmarket.com/blog/en/install-prestashop-1-6-on-a-digital-ocean-vps.html#.VGWetfmUcc0
Everything went fine and I was able to view to store on <my IP address>/<foldername> where the folder name was in /var/www .
Now I wanted to configure my domain name to the droplet IP and hence I then changed my name servers to digital ocean nameservers and added a domain to the droplet. Then I added the ‘@’ Record and a CNAME record for the www
Next step was to change the virtual host file. So I created a backup of 000-default.conf file Then changed it which is as follows
<VirtualHost *:80>
ServerAdmin admin@2dayhiker.com
ServerName 2dayhiker.com
DocumentRoot /var/www/2dayhiker
</VirtualHost>
I saved the file as 2dayhiker.com.conf in /etc/apache2/sites-available/
Then I ran
a2dissite 000-default.conf
a2ensite 2dayhiker.com.conf
sudo service apache2 restart
Everything was fine until now but now when I open 2dayhiker.com in my browser
What can be the problem for this type of error. Is there any permission problem because I have tried giving all the permissions (777) and it s still not serving.
I also ran the following command
chown -R root:www-data /var/www/2dayhiker
just to test but no success?
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!
It sounds like prestashop is configured with your old URL so when a request is received it is redirected to what prestashop thinks should be the default web address.
You can edit this in your database. Look for the table that ends with _shop_url and edit the line in there to match the URL you wish to use. Once this is done the redirect should stop causing problems.
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.