Getmoreinfo

发布时间:2020-03-31 作者:立博体育登陆 浏览次数: 153

Moretechnically,the'SiteNotFound'errormeansthattheDNSrecordsforyourdomainareresolvingtotheIPaddressofanApachewebserverservicethatisnotconfiguredforyourdomain.

Whenthishappens,theApachewebserverisdesignedtoonlyshowthefirstdomainlistedinitsconfigfile.Tomakesurethatnobody'ssiteeveraccidentallyshowsarandomsitehostedonthesameApacheservice,DreamHostmakesthefirstdomaininallitsconfigfilesshowthesamecustomerrorpage.

立博体育登陆DuetothewaythatDreamHostconfiguresApache—unlessyouhavepurchasedaUniqueIPaddressforyourdomain—attemptingtoviewyoursitebyenteringtheIPaddressinyourbrowserautomaticallygivesyouthe'SiteNotFound'error.Thisisbecauseyou’reviewingthesharedIPofyourwebserver,nottheIPofyoursite.

IfyouabsolutelyneedtoviewyoursitethroughanIPaddress,youmustpurchaseaUniqueIP.YoucanreadmoreaboutUniqueIPsinthefollowingarticle:

立博体育登陆Ifthe'SiteNotFound'errormessageappearsshortlyaftermakingaconfigurationchangeforthedomaininthecontrolpanel,theIPaddressmayhavechangedforthatdomain.Ifthat'sthecase,thiserrorshouldgoawaywithin4hours—oncetheDNSchangepropagatesthroughouttheInternet,asthisisnormal.Ifitdoesn'tgoawayafter6hours,thentrythefollowingtroubleshootingtechniques.

Frequentlythe'SiteNotFound'errorappearsduetoachangeinyourIPaddress,whichiscommonlytriggeredbyremovinghostingforadomainandthensettingupaMIRROR,REDIRECT,orPARK.WhilechangestotheDreamHostDNSarenearlyinstantaneous,thenewinformationdoesn'treachotherserversaroundtheworlduntiltheotherserversexpiretheolddatathattheyareholdingonto.ThisisreferredtoasDNSpropagation.

ThereasonwhyyougetthiserrorduringthisperiodoftimeisthattheDNSinformationyouarereceivingtoyourlocalcomputerisoutdated,andtheApacheinstancethatyouarebeingincorrectlysenttonolongerhasanyrecordofyoursite.Dependingonyourlocation,itcantakeuptoseveralhoursforDNSchangestopropagate,sothebestthingtodoisleaveyourdomainaloneforafewhoursbeforeattemptinganysortoffix.

Whenyouclickthe Go!buttonatthetop,aDNSupdateisforcedinDreamHost'ssystem.Torepeat,DNSpropagationonlinemaystilltakeseveralhours.

TocheckonthestatusofyourDNSupdate,youcanvisitwhat'smyDNStoseewhatIPaddressyourdomaincurrentlyresolvesto.

Ifyou’reusingaLinuxorMaccomputer,youcanalsorunseveralcommandsinyourterminaltocheckthecurrentIPofyoursite.VisitthefollowingSSHarticleregardinghowtologintoyourterminal:

Onceyoulogintoyourterminal,youcanrunthedigcommandtocheckthestatusoftheIPresolution.Forexample,thefollowingcommandchecksthecurrentIPaddressresolvingonlineinyourlocation(yourIPisdifferentdependingontheserveronwhichyoursiteislocated):

ThefollowingcommandchecksthecurrentIPassignedtoyourDreamHostwebserver(yourIPisdifferentdependingontheserveronwhichyoursiteislocated):

If'example.com'isusingDreamHostnameservers,youshouldreceivethesameIPwithbothcommands.Ifnot,tryflushingyourlocalDNS.Youcanreadaboutthisinthefollowingarticle:

Windowsuserscanusethenslookupcommandusingthecommandprompt.YoucanreadmoreaboutusingthecommandpromptinWindowsinthefollowing:

ThefollowingcommandchecksthecurrentIPaddressresolvingonlineinyourlocation(yourIPisdifferentdependingontheserveronwhichyoursiteislocated):

ThefollowingcommandchecksthecurrentIPassignedtoyourDreamHostnameserver(yourIPisdifferentdependingontheserveryoursiteislocated):

If'example.com'isusingDreamHostnameservers,youshouldbegettingthesameIPwithbothcommands.Ifnot,tryflushingyourlocalDNS.Youcanreadaboutthisinthefollowingarticle:

Ifyouaren'tusingDreamHosttomanageyourdomain'sDNS,thenmostlikelytheIPaddressthatpointstoDreamHostbyyourDNSproviderisincorrect.

YoucanfigureoutthecorrectIPbyqueryingtheDreamHostnameserverwithoneofthecommandsintheabovesection(dependingonyourOperatingSystem).

Thisproblem,oronelikeit,occasionallymanifestsondomainsthatusePassengerWSGI.Inthiscase,theerrorappearsdifferentlyinthattheservererrorpagedoesnotdisplay.

Youcanalsotrydisablingandre-enablingPassengeronthesamedomaineditpageaswell,whichchangesthedomainconfigurationsettingswithoutalteringthedomainDNSrecords.

Foraccountsthataresuspendedduetonon-payment,DreamHoststopsservingtheDNSfortheaccount.Yoursite(s)insteadshowthe'SiteNotFound'pageuntilyouraccountispaidandre-activated.