How do i set up a testing environment

Nw,

While that makes more sense than paying for another account (with a different domain name), it’s clearly not as simple as creating a test server on your own computer:

  1. You don’t have to juggle domain names and subdomains (simply drop the TLD for localhost testing).

  2. You don’t have to upload - every file you save is “live” on the test server.

  3. You are always “live” on your test server - even without an internet connection.

  4. You can configure your test server the way you want (to trial modules like mod_speling).

  5. You have no fear of posting sensitive information online and having it seen (via the website - a subdomain is usually in a subdirectory).

  6. It’s FREE and cannot impact your host’s bandwidth OR storage OR CPU limitations!

  7. Finally, you asked about setting up a test environment. Doing that ONLINE is not considered (IMHO, of course) a testing environment - that is the realm of an OFFLINE environment.

There is no excuse for putting up with dealing with subdomains (or another account) on a hosting package when you can have it all on your own computer!

WARNING: That said, there is a MAJOR difference between testing offline and hosting your website on your own computer - the security issues (and violation of your ISP’s T&C) are insurmountable.

Regards,

DK