In the virtual host configuration for sd.domain.com, use AccessList option to allow access from only your IP address. Use the ErrorHandler option to set a 403 error file, which redirects (for example via a
HTML meta tag [mediatemple.net]) everything to www.domain.com.