Questions tagged [public-html]

The public_html directory is the default directory from which the Apache web server is usually configured to serve files.

Filter by
Sorted by
Tagged with
0 votes
1 answer
14 views

HOW TO BRING CENTRE ALIGNMENT IN WEB PAGE USING HTML? [closed]

In html, what can we write in the code to bring the content of my web page in the center ?? I have tried to write the code within "center" tag and "/center" but it's not working. ...
Sanchali's user avatar
1 vote
0 answers
75 views

What is the "WebPlusDB.txt" file's purpose within the public_html directory when using Serif WebPlus?

I've been using Serif WebPlus X8 web design tool now for some years. I'm not expert by any stretch, but generally find my answers by trawling and digesting the evidence. However- I am stuck on what is ...
rollator's user avatar
0 votes
0 answers
720 views

000Webhost is saying "You see this page because your website doesn't have "index.php" or "index.html" file in public_html folder."

I added an index.html page, but when I publish the site and go to my website: it says "Hooray, your free website has been started! You see this page because your website doesn't have "index....
CodeBox's user avatar
5 votes
1 answer
1k views

Is it safe to use 777 for my public html folder?

Running a Linode and I want to install Nextcloud, but it needs permissions to write to the directory (/var/www/html). Doing a chmod 777 will clear things up but I wonder if it's safe to use that open ...
liminalFrog's user avatar
0 votes
0 answers
15 views

Get the pdf doc url indexed [duplicate]

I have a URL to a PDF document which I uploaded to the public_html/docs folder. How do I get search engines to index this link and PDF document? When I submit the URL to the search console it does ...
user avatar
0 votes
1 answer
2k views

For security most PHP files are out of the document root, but some are now not accessible

I am developing a internal website and it has no domain (DNS not configured for domain name) so it is just accessed via internal IP address. I have read that it is a good idea to keep backend files ...
user97913's user avatar
1 vote
2 answers
2k views

Not able to see public_html from the AWS EC2 instance when accessed via PuTTY

I cannot find the public_html file from the PuTTY terminal when accessed through SSH giving valid public-private-key(PPK) file, But when accessed from the FileZilla Client software, I can see the ...
Nɪsʜᴀɴᴛʜ ॐ's user avatar
6 votes
2 answers
6k views

What is `wp-cli.yml` for in the public_html folder?

I recently signed up a hosting package, and installed WordPress from the control panel. I noticed there is wp-cli.yml in the web root folder. The file contains: apache_modules: - mod_rewrite Can ...
Stickers's user avatar
  • 287
1 vote
1 answer
1k views

Stop my website from redirecting to add a query parameter on first visit

When I type my web page address for the first time in a new browser, the address is automatically added by some strange suffix. e.g. www.example.com automatically become: www.example.com/?i=1 ...
Smart People Help Others's user avatar
4 votes
3 answers
276 views

What exactly should I backup in a WordPress site?

I just uploaded my multisite WordPress site and I wanted to know what exactly should I backup from my Cpanel? Someone told me just backing up wp-content and your databases should be enough. Is that ...
Poorya Zeynalzadeh's user avatar