By madjura
Hello, I have been following the tutorials: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-host-name-with-digitalocean https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04 When I attempt http://your_server_IP_address/info.php: I find info.php and it shows the site shown in the picture. However when I do: my_url/info.php it does not show, I get “The requested URL /info.php was not found on this server.” Going to just my_url I am shown the index.html page, which I can edit and it shows the edits, so that works. Both index.html and info.php are in the var/www folder (both in the same folder). One thing I have done differently is enable domain redirect on the site where I bought the domain, I chose “Frame redirect” and the IP I get from here, the domain servers ns1.digitalocean.com… are registered on their site as well. If I do not enable this domain redirect option browsing to my url just tells me that redirect is disabled and shows nothing. Is that normal? The tutorial mentions it can take a while for the redirect to work, without the domain redirect though the whois shows the correct inforamtion as shown in the tutorial. I am using Ubuntu 14.04.
Thank you for reading!
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!
Quoting the question asker- “The problem resolved itself, somehow. Maybe I was doing something wrong (it was late) but it works now.”
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.