I think I found my answer.
So, the thing is, because I bought a shared hosting package, they also gave me a shared IP. My guess is, this IP has many websites next to mine and they're all accessible with this same shared IP address.
The trick is the HTTP GET request's Host header!
When I entered the shared IP directly in the address bar, the Host header ...
However you may need to check if your static content has no absolute references to other files or other resources (<...
To complete the other answers, there is no authoritative database of complete IP -> name mappings.
DNS provides for two kinds of mappings:
name -> IP. Multiple names can map to a single IP
IP -> name (aka "reverse"). A given IP can map only to a single name.
Whether there is actually a reverse (IP -> name) mapping and what it points to is subject to the ...
Since your site is static, one solution is to use CloudFlare, because it can still serve cached pages if your site goes down (with proper configuration). It will be transparent if there is an issue.
And keep a copy of your site on your laptop or on a memory stick if you can't use your laptop. If all goes wrong, you will still able to finish your ...
SSL certificates no longer require a dedicated IP address.
There is a relatively new technology called Server Name Indication (SNI) that allows SSL certificates to be associated with a virtual host rather than with the server's IP address. Here is a digicert article that explains it very well.
Your host may not have SNI support installed yet. It ...
I got the same problem once with a website with an old version of Joomla, the server was safe but the pages were generated by an hack on at PHP level that I was not able to discover fast.
In the end I preferred to delete DB and all files, recover from a valid backup and update everything to latest version.
After that I removed all bad URLs using Google ...
Don't know if it's possible with simple command, but there are special "Reverse-IP" services just for that, check that one for example: http://viewdns.info/reverseip/
Apparently if you share IP with other domain, that is considered... malicious, like it's sending spam or spreading some viruses or having some "illegal" content, then your good domain also ...
To answer your question directly: No, in most cases there is no negative impact for sharing an IP with a bad domain. How do I know this? I am the SEO oracle. I come from the future to save humanity.
Kidding, but only sort-of. If there was such a thing as IP penalization, we would be seeing far far different search results than what we do today because many ...
If you don't trust him/her, create an FTP account in the domain that is being worked on for the uploads.
Dev person should be able to create the database structure on their own machine and then dump it and give you a SQL file to recreate it on your server.
If the website is HTML and CSS only, You don't need a host. Just throw it on the USB stick that that you're going to use for the redundant WAMP environment and run it from whatever machine you plug it in to.
If you're worried about losing the USB stick, the web host would be a suitable backup.
You can simply open the internet page locally and display it in your browser.
If you even want to show a different domain name, you can use XAMPP to open a local webserver. Host your website there and point the domain to your localhost on your maschine by appending the following line to your hosts file on your system:
You could host the static content using Amazon S3. See http://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html for a guide as to how.
Basically you sign up for an AWS account, upload your website into S3, and can then access it via a url like <bucket-name>.s3-website-<AWS-region>.amazonaws.com. You can also create a custom domain for ...
If you can create high quality sites, provide great user experience, and take care not to violate any of Google's webmaster guidelines, there is no problem with having multiple sites on a shared host.
With that being said, your sites sound like they could be spammy. You sound like you are at risk of violating the policy against doorway pages. The example ...
Yes it is possible using Apache and PHP, by setting the expires and cache-control using header(), you can find out more about what is, and what is not supported in the HTTP/1.1 specification. PHP headers will look something like this:
$seconds_to_cache = 3600;
$ts = gmdate("D, d M Y H:i:s", time() + $seconds_to_cache) . " GMT";
Is there any reason to complicate your life using AppFog/PhpFog spendng 29$ per month, when you could simply buy a 45$ per year reliable cPanel hosting service with MySQL (among millions of providers) that will suffice to most of your web application needs for a long time?!
And in the case you have a lot of traffic you simply need to send an email to the ...
Presumably you just need to block HTTP access (return an HTTP status code of 403 - Forbidden) to these folders, if stored in the document root? In your document root .htaccess file:
# Block HTTP access to certain folders
RewriteRule ^classes/.* - [F]
RewriteRule ^templates/.* - [F]
(...and build flexibility into your framework to allow your framework to be ...
If you are using Git for version control of your site... (not to judge... but you kinda should be if it's an important project!)
You can host your entire website on Github's "project pages". (aka Github Pages)
It's really simple to just git push your site code there.
Basically you push to a branch called gh-pages and your site will automatically publish, ...
So many overly-complicated answers.
The website is HTML and CSS only (no DB), and currently resides on my shared hosting account.
You do not need Apache
You do not need XAMP (or similar)
You do not need cloudflare, dropbox or any other 3rd-party service. (github? for a presentation? please.)
All you need is a portable storage device. USB key, external ...
You could use a service that does "reverse IP lookup" to check for websites hosted on the same server / the same IP address. This service http://viewdns.info for example lets you simply enter a domain name into "reverse IP lookup" and spits out a list of other websites / domains hosted on the same address. The same here: http://www.yougetsignal.com/tools/web-...
This can be due to a wide range of factors including the number of plugins that you are running. Some factors that need to be taken into consideration are...
Is Caching Enabled
How Many Images Are Being Served
Is the Output GZiped
Basically everything that wordpress is doing will consume memory for each request. In addition to that WordPress does not scale ...
RAM usage by Linux
Linux will generally eat a lot of RAM to avoid disk caching (swap file) and does not indicate that anything is wrong if you have little to no ram free. You should only consider it a problem when you have no free memory and your Linux OS is using the swap file.
Linux Swap File
Disk Swap caching should be avoided as much as possible ...
If Google is indexing these, it means they are resolving. Your domain is serving bad pages - possibly JUST to Search Engines if you've been hacked at the server level. They won't resolve or show up otherwise.
Changing host provider works - shift your content to a new server and these will begin to disappear.
To get them removed ASAP you'll want to use a ...
Yes, it is very unusual to get a dedicated website IP address these days unless you specifically ask for one, and usually at a cost.
Typically the hosts node apache/nginx server will run a default config page on the public IP address of the node and create "vhosts" for each website they need to run (generally managed by something like cpanel).
You can find or change the location of backups in cpanel's Configure Backup Directory section of Backup Configuration interface Home > Backup > Backup Configuration
Once you know the location of your file, rather than using a browser, use an FTP client such as filezilla
cron is your best bet if you want to run something periodically.
If you just want to run a few shell commands (and depending on the security restrictions of your host) have a look at php's backtick operator and shell_exec function
I have had success with phpshell and phpsh projects too.
Your shared hosting may give you access to cron jobs. (On cPanel hosting this may be under Advanced Tools.) Cron is a Unix command which runs a task at a specified time. You can create a cron job to run the task you want, if your shared hosting lets you.
cPanel gives this warning though:
You need to have knowledge of *nix commands before you can use cron
I personally use Git for web development, and have adopted a method similar to this with our development server. I used Joe Maller's Web-Focused Git Workflow as a model, and it's been fairly successful.
Joe's approach uses an intermediary "hub" repository that's been set up as a "bare" repository (git --bare init), because it's very tricky pushing into a ...