Would it be bad if everything was set up so that it MySite.comis a production, but test.MySite.coma test? Both work on the same machine. The site does not receive much traffic.
MySite.com
test.MySite.com
UPDATE
I am talking about an ASP.NET web application running on a Windows server.
Yes, this is a bad idea.
Suppose your test code contains an error that consumes all the memory space / processor / disk? Then your production site does not work.
Have separate machines for production and testing, and use DNS to specify URLs for each.
Edit (more points):
, IP-, IP- , .
, , ( , ).
- .
, ( php/perl/python/apache/kernel/whatever) .
. , .
- - ? , , , . ( ) .
, . , , , @Oded. , - , , .. test.mysite.com .
test.mysite.com
, , , , - - . , , , . , , !
: , -. .
, . " " , " " ... .
. " " .
, . ( ). , , ( ) . , , , , , , , , .. .. , .
, , HAL.
!
", , ". -
. , . , , . , , , .
con - shared . ( , , , chroot ..), , - . DOS , . . - , , . , .
: .