Tag Info

Hot answers tagged

6

I can understand the frustration when you don't have access to SSH. Below is a simple PHP script that you save in a file in the root folder from where you want to start your search. For example, I wanted to find all files that have the HEX color code string ecebeb under the ../public_html (or the www) folder. Retracing the steps here. Login to ...


5

You might find The First Few Milliseconds of an HTTPS Connection by Jeff Moser useful reading. It provides a detailed explanation of what happens on the wire when a browser sets up an HTTPS connection with a server. This interesting video illustrates public key cryptography by mixing paint colours! You should also look at the OpenSSL command line tool. ...


4

Seems to be related to the dompdf library. Since you seem unaware it's even on your site, it's probably being used as a library by some utility or plugin for a CMS, for example. Does your site offer a feature to download a given page as a PDF? That would be the first place to look.


4

To redirect only mobile traffic to a mobile domain there are a few options:- Simple Based on screen resolution (my favorite as it's fairly future proof) <script type="text/javascript"> <!-- if (screen.width <= 699) { document.location = "www.mobileurl.com"; } //--> </script> More granular control ...


4

http://www.flowerwood.com is pointing to 69.85.232.203 http://plants.flowerwood.com is pointing to 98.124.199.1 Change the DNS record for the plants dubdomain to point to the same IP as flowerwood.com. (This post assumes default behavior of a cPanel/Apache setup. Also assuming that the subdomain is also on the same server. All pretty vanilla assumptions ...


4

Actually when using hosting management software like cPanel, it installs MySQL with default and commonly used configurations: MySQL host = 'localhost' MySQL port = '3306' MySQL User = 'cpanelusername_mysqluser' [1] MySQL password = 'password' [2] MySQL database = 'cpanelusername_database' [3] More explanations about the host address: If ...


3

A quick look at the web host you currently use shows that they only offer 2 hosting packages that are both less than $10/month. This is pretty much guaranteed to be shared hosting as VPS starts at at least $20/month on the extreme low end. So that means you probably don't have root access. That said, there's no reason the other host would need root access ...


3

No. cPanel cannot know how long a page takes too load. There are too many variables that affect a page's performance. If it loads fast for the hosts, then it loads fast for the host but that may be because their network access is much more efficient to their own machines. The best is to measure performance from an outside point such as Google Page Speed. ...


3

Step-by-step instructions make sure you have download the appropriate files for your certificate before beginning Open the WebHost Manager and click Activate your SSL Certificate in the SSL/TLS menu. You will see a screen with three boxes on it. Your issued certificate, RSA private key and certificate bundle must be pasted into boxes 1, 2, and 3, ...


3

[Disclaimer: I work for one of the companies in the list below] Since your host is going to provide DNS management, it sounds like your needs are: setting up Apache virtual hosts, managing SFTP accounts, and creating MySQL databases and users. Does that sound right? You can definitely set up your sites manually, but life may be easier (and consequently ...


3

Simple answer. Hosts provide what is asked for and works best. It is a double-sided coin. Apache has been extremely successful and is stable and seasoned code therefore hosts don't have to work hard to support it. As you may know, Apache is one of the first successful web servers and serves the vast majority of web installations therefore it is asked for the ...


2

It is configured by the host by editing the "Bandwidth Processing Frequency" in their Web Host Manager See Schedule Configuration for further information. Another document of interest might be: Apparent Discrepancies in Bandwidth Usage Statistics which explains discrepancies in statistics between certain log analysis programs in CPAnel.


2

Kloxo/HyperVM might be worth a look - open source/free and released under AGPL-3.0 license. I can't say whether or not development is keeping pace with bugs at this point - you should know, if you use this software, that there were some issues with security (which turned into some huge headaches for hosting providers) a couple years back. Edit: Though the ...


2

I'd say don't bother, it's not worth the hassle of setup, maintaining a clean IP, and achieving high deliverability. Plus, the reporting is far more sophisticated than you would be able to achieve in building something yourself. Use something like MailChimp or Campaign Monitor, both excellent services that have free plans or free trials. As for the ...


2

The server's WHM configuration allows cPanel to utilize either BIND or NSD as its DNS daemon: when a cPanel user adds a subdomain, corresponding DNS records are created in BIND or NSD.


2

This FAQ relates to BlueHost but it should also apply to other cPanel .nstallations. It looks to me, and this matches my memory, that the FTP is created along with the addon domain. Quoting from siteground: Step 1: To access the Addon Domains tool, click on the corresponding icon located on the main screen of your cPanel interface. Step 2: Enter the name ...


2

That's how file permissions work. If you want a user/group to have access to a file, then they need the permission to do it. If you don't want your PHP/Apache user to have access to that file, then you can't use PHP to do the enabling/disabling. You could, however, create a separate user to run PHP as for this admin panel. This way the PHP admin panel is ...


2

Dompdf is a html to PDF converter, it has a PHP rendering engine and reads in external style sheets. The project lives at http://code.google.com/p/dompdf/ I'm sure they have a support channel that might be able to help get the cleanup correct.


2

It's a bit hard to say for sure, but here's what I guess is going on: Your website is on name-based shared web hosting. You do not have a dedicated IP. The IP address they gave you is the address of their shared webserver. You're meant to enter it into the DNS settings for your domain. Since you're trying to access the server using the IP address ...


2

The certificates used for HTTPS are X.509 certificates (they're the only ones mentioned in the HTTP over TLS, i.e. HTTPS, specification). A (server) certificate is a piece of information used to prove the server's identity to the client. It's the combination between a public key and various pieces of information (mostly regarding the identity of the owner ...


2

Sign up for a Google Webmaster Tools account and submit an XML sitemap for your .com. Then you need to tell Google you have moved your site using the address move tool.


2

To clear up the localhost thing -- we almost always use localhost to connect to the MySQL server, because it's a separate service on the SAME MACHINE. (Think of it as having a washing machine and a dryer; you put the clean but wet clothing in the dryer which is in the same house (localhost) as the other machine. You don't need to specify your house's address ...


2

This is a question that only you can answer. If your web-hosting provider and their choice of control panel is returning your password in plain text formatting, it would suggest that they don't take the security of their platform seriously. Typically, a good hosting provider will provide security in depth. That is, multiple layers of security ranging from ...


2

Backups should always be on another server. You can use rsync for your files, and mysqldump your for mysql databases. I run a backup via cron, just using tar, mysqldump and SSHFS. This is a very simple solution, but works for me. Here my code (all in the root crontab). MAILTO=crontab@website.com #Mysql daily 30 4 2,4,6,8,10,12,14,16,18,20,22,24,26,28,30 ...


2

This is how you'd remove the .html extension using a .htaccess file RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html # Replace html with your file extension, eg: php, htm, asp To add a trailing slash at the end of the URL (for example: http://www.example.com/about-us/ to go to ...


2

cPanel isn't a hosting environment or server-side scripting language. It's a control panel for general website management (email, ftp, etc). It can't do things like templates or include files. You'll need to use Server Side Includes, PHP includes, etc. like you've used in the past to accomplish this. If you're going to use cPanel for file management then ...


2

There isn't any option in cPanel that I know of which does this. There may be a plugin but doubt it. Your best bet is to use Google Calendar and install the plugin into Chrome you can setup multiple notifications pop-up, and email as well as set it to notify you any quantity of days in advance. If you use Android your phones calendar can sync to Google so ...


2

It is basically used to Update the cPanel User's Password to Restore Database Access. Internally it fires following: /usr/local/cpanel/bin/restoregrants --cpuser=$cpuser --db={mysql, pg} --dbuser=$dbuser or /usr/local/cpanel/bin/restoregrants --cpuser=$cpuser --db={mysql, pg} --all where, $cpuser is cPanel username, and $dbuser is database user ...


2

The "No Indexing" that you are seeing in cpanel controls whether or not the web server creates a document for the directory that lists all the files. Selecting "no indexing" will only prevent the directory contents from being listed but will not effect whether the contents of the directory can be crawled by search engines. If you don't use the "no ...



Only top voted, non community-wiki answers of a minimum length are eligible