solved Question on DO Install

Dazed
Dazed
@dazed
10 years ago
1,022 posts
So it looks like everything in my droplet is setup but I am having one issue. I reset the dns and when I go to my site I get the message "It works!This is the default web page for this server.The web server software is running but no content has been added, yet."

When I track this down this index file is in the var/www/ dir. So is there a command I need to run to have it use public_html?
updated by @dazed: 04/19/14 12:46:24PM
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
You have to stop the default site: a2dissite default
Dazed
Dazed
@dazed
10 years ago
1,022 posts
command?
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
sudo a2dissite default
Dazed
Dazed
@dazed
10 years ago
1,022 posts
that is somewhat better but now I have - This webpage has a redirect loop
brian
@brian
10 years ago
10,148 posts
If you followed the guide, you should have your website in /home/username/public_html. Make sure that it is setup correctly in the apache config file.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
10 years ago
10,148 posts
Also - any time you make a change to your server config, you need to restart the web server:

sudo service apache2 restart



--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Dazed
Dazed
@dazed
10 years ago
1,022 posts
thanks for the help all.

The home path is correct. Apache should also be correct.

scratched head
Dazed
Dazed
@dazed
10 years ago
1,022 posts
I thought the issue might be with the existing droplet that was there so I deleted it and created a new one. I am still getting the redirect loop error message. Any ideas?

DO mentioned this - "It appears as though the redirect loop is between the directory index and install php. I would check your .htaccess file in that directory in case it has a rewrite causing the issue."
updated by @dazed: 03/08/14 12:35:27PM
Dazed
Dazed
@dazed
10 years ago
1,022 posts
Grrrrr this is the oddest thing I have ever seen. I resolved it. I started looking at the uploaded JR files. What was missing was the install.php file. For whatever reason, 2 fresh installs mind you, this file did not get uploaded. Instead of throwing a message that the file was missing, the redirect happened.
brian
@brian
10 years ago
10,148 posts
Dazed:
Grrrrr this is the oddest thing I have ever seen. I resolved it. I started looking at the uploaded JR files. What was missing was the install.php file. For whatever reason, 2 fresh installs mind you, this file did not get uploaded. Instead of throwing a message that the file was missing, the redirect happened.

Unfortunately there's no way to test for a file in a .htaccess file (and you really would not want to). I'd recommend checking out alternate FTP clients - especially if you are using FileZilla. This is the exact reason I stopped using it - it would randomly "miss" files when I used to do a lot of JR4 installs, and it was always a pain.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Dazed
Dazed
@dazed
10 years ago
1,022 posts
Thanks Brian. Just waiting for propagation now. I know it can take up to 72 hours but I usually get lucky with a few hours. Not today though lol.