Hot answers tagged

14

Normally, you do not need any server just to view raw HTML files, even if they reference other files, CSS and JavaScript. Simply double click on any file and it will open with the default browser of your machine from the local file system. However you may need to check if your static content has no absolute references to other files or other resources ...


11

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 ...


10

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 ...


8

Probably the biggest thing to check if is you have keys on the fields you are querying on. Having the right keys and fields will make your queries considerably faster. You can determine if your keys are being used by running the query with EXPLAIN in front of it, such as EXPLAIN SELECT * FROM table WHERE id = 2; You can add EXPLAIN on queries in the slow ...


8

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 requires newer versions of both Apache and OpenSSL. Web hosting ...


7

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 ...


6

Shared hosting means that there are other sites on the same server you are on sharing things like bandwidth and resources. Dedicated hosting means that you are the only one on the server and all the resources belong to you. Usually dedicated hosting is more expensive, but it provides better performance if you need it.


6

When you sign up for Godaddy shared hosting they usually send you and email afterwards with the server's IP. Once you have the IP address go to the site that is hosting your domain name and change the Host (A)Record within the DNS setting to reflect the new IP address. It will take an hour or an hour and a half based upon what the TTL is set to.


6

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.


6

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.


6

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 ...


5

If you have shell access, you can just use your shell account to SFTP to the new server and upload it directly from one host to the other. It may still take a while, but it will be much faster and won't take up any of your bandwidth. Also, any decent web host should be willing to perform this type of transfer for you for free. 60GB isn't a lot of data in ...


5

You can configure Mercurial to run a web server using the hg serve command. A list of runtime options on hg serve are available here. Once you have your web server set up, hg clone http://servername:port will pull a copy of the server's resources, and hg push from that directory will update the server. To force the server to update itself upon receiving a ...


5

Shared hosting Pros: Cheap Fully managed by hosting company Cons You are at mercy of other sites poor performance You are in a restricted environment Dedicated hosting Pros: You have full control of the machine You can set up the web server app whatever you want The performance only depends on your apps in the server Cons You have to ...


5

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: 127.0.0.1 ...


5

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 ...


4

There's no magical way to turn a website migration into a 3-step process, but with planning and some clever scripting, you can make things go a lot more smoothly. First things first, is this a static site we're talking about or a dynamic site? There's a reason why most sites these days are dynamic. It's just impractical to manage and maintain a large site ...


4

Just as example, because it's the system I'm in at the moment, when adding a new domain to a Pair hosting account you're given the following options Dedicated IP Domain Hosting -- The domain name will have its own unique IP Address Shared IP Domain Hosting -- The domain name will share an IP address with another domain on your account Parked Domain ...


4

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 ...


4

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 ...


4

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, ...


4

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 ...


4

cPanel can do this by going to the following url: http://[ip-address]/~[cPanel-username]


4

Search engines care about content of the web site and not IP addresses. Period. End of story. Now, if your IP address or domain name is a known spammer; different story.


4

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 ...


4

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: ...


3

For more information about this you can create a file with phpinfo(); in it, this does list every module loaded by PHP with details. You can search the GD section to see if the GD library is active and if it's the case you will find more information about it.


3

This article will tell you what nameservers to use.


3

Most shared hosting providers have a control panel. Most control panels allow you to change file permissions through some sort of file manager. Windows uses a different way of doing permissions to Unix servers, so you may need to give read/write permission to a user called IUSR_machinename for Wordpress to work properly. For Plesk it's: Websites & ...


3

WordPress can, per se, under some conditions be slow. But if plain PHP work good on the same host, you have to think about DB-backend of WordPress (MySQL) also - host may be fast, only database slow. Anyway, some not oberbloated Blog-engines, which you can try DB-backend Serendipity (s9y) MaxSite CMS Dotclear (require PHP 5.3.*) PivotX Flat-files ...



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