dimanche 25 octobre 2020

How do I fix the host command error when hosting a Heroku Website?

So, I'm trying to host my website to Heroku. I checked this guide: https://devcenter.heroku.com/articles/custom-domains for hosting it. After connecting the domain to Heroku and adding the DNS Record, it asked me to do this command:

$ host www.example.com

www.example.com being the domain. I did the command and now I get this error:

Get-Host : A positional parameter cannot be found that accepts argument 'www.example.com'. At line:1 char:1

  • host www.example.com
  •   + CategoryInfo          : InvalidArgument: (:) [Get-Host], ParameterBindingException
      + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.GetHostCommand
    

How do I fix this error?




Aucun commentaire:

Enregistrer un commentaire