When I SSH into my ubuntu server on EC2 in Amazon Web Services, and I change to the root user using sudo su, I navigte to /etc/apache2/sites-available to make changes to the 000-default.conf file there. This was working just fine, but when I nano in (using nano 000-default.conf), I am seeing just a blank page in the terminal.
When I do the same thing as just the ubuntu default user (not root), I see the file fine. This just changed after I made a change to the file as the root user. I can't make any more changes as the default user (it needs to be root for the permissions). Any idea why this is happening? Thank you.