Site url before dns propagates

Discussion in 'General' started by MatthewJ, Nov 1, 2006.

  1. MatthewJ

    MatthewJ New Member

    i've looked though the manual, but i can't find details about accessing sites before the dns propagates.

    Like i've seen other hosting services give a url like http://1.2.3.4/user/test_user

    Any help on this would be great.

    Thanks.

    -Matt
     
  2. edge

    edge Active Member Moderator

    For a quick fix, you can add the IP and domainname to the hosts file of the PC that you are using to access the site.
     
  3. clo75

    clo75 New Member

    Interesting question because It's very interesting to test the website under ispconfig without waiting the DNS prpagation.

    I changed the host file on my computer.

    xxx.xxx.xxx.xxx www.mydomainename.tld
    xxx.xxx.xxx.xxx mydomainename.tld
    (IP serveur adress) The domaine name concerned

    Thanks for the tip, it works !

    --------------------------------

    But sub directory upload with a ftp program with .php files inside give a blank page when I point to the php file url. Is there other direct access tips??
     
    Last edited: Nov 2, 2006
  4. MatthewJ

    MatthewJ New Member

    I was wondering if some sorta Apache ModRewrite might work ?
     
  5. falko

    falko Super Moderator Howtoforge Staff

    I don't think so because then again you'd need proper DNS records.
     

Share This Page