1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

Subdomain preview?

Discussion in 'Plesk for Linux - 8.x and Older' started by bkahf, Jun 14, 2005.

  1. bkahf

    bkahf Guest

    0
     
    Is there a specific URL that i can use to preview a subdomain site?

    This is what i use currently for the domain itself:

    https://myhost.com:8443/sitepreview/http/mydomain.com

    but i am unable to preview a subdomain of mydomain.com before the DNS propagation. is there a way to do that?

    thanks!
     
  2. Stucco

    Stucco Guest

    0
     
    Yes...but not in Plesk.

    You can edit your hosts file on your local comp. This file acts as a local DNS server, and is the first referenced point to look for ips.

    The hosts file is in C:\WINDOWS\system32\drivers\etc on XP.
    1) Notice there is no file extension. This is correct.
    2) MAKE A BACKUP.
    3) Open the file in notepad and add a line like...

    xxx.xxx.xxx.xxx subdomain.domain.com # My New Subdomain


    4) Save the file, close and reopen internet browsers.

    They should go to the correct place. If you don't change it back it will stay there forever. You can use this for regular domains too, just remember that just cause you can see it doesn't mean your customers can.
     
Loading...