• Hi, I have scoured forums of similar topics, yet I cannot find the answer I need.

    I have uploaded a client’s site to a remote server and on any other computer, the website works, although on my machine and mine alone, https://www.mydomain.com redirects to localhost. Seems to me this isn’t a database issue and must be an apache problem with my local server (I’m running MAMP). I have tried finding this redirection rule in the httpd.conf file but no luck there.

    Would appreciate the help, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you not changed your hosts file? or did you not setup a virtualhost before when you were working with the project before?

    Thread Starter nateosplot

    (@nateosplot)

    Thanks for the reply. I haven’t made any changes to httpd.conf. I didn’t configure any sort of virtualhost…all I did (or all I thought I did) was direct MAMP to my project folder.

    Thread Starter nateosplot

    (@nateosplot)

    solved…although my databases strangely disappeared…

    figured out how to reach the virtualhost info (which apparently I did do, but have no memory of), and deleted the host rather than adding one.

    https://sawmac.com/mamp/virtual/

    Thanks! Hopefully this helps others with this problem

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Domain redirecting to localhost’ is closed to new replies.