Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 2288  / 3 Years ago, mon, november 22, 2021, 4:53:54

I made a Website which i want to publish right now. I asked someone if he could host it and later i got an e-Mail telling me it is all set up. Including a Admin Name and Password and also a MySQL root Password also telling me that LAMP is already installed. I read some tutorials and most of them tell me i have to upload my files to the "var/www" direction but i have no idea how to manage it. I tried Filezilla but after i log on to the server and try to upload my files it tells me "permission denied".



So right now i have a built website located on my hard drive which i can upload to my "home/NAME" folder but not to the "var" folder. Please I really could use some help!


More From » mysql

 Answers
4

open terminal then write sudo gedit /etc/apache2/sites-available/000-default.conf



Find DocumentRoot /var/www/html line



Change /html to /your desired folder name save it



Then run sudo a2dissite 000-default.conf; sudo a2ensite 000-defaut.conf; sudo service apache2 restart



Your hosting provider have to do the above procedure. Hope apache2 default page go away.


[#22131] Monday, November 22, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
girdleas

Total Points: 1
Total Questions: 112
Total Answers: 114

Location: Lesotho
Member since Wed, Jun 2, 2021
3 Years ago
;