WordPress.org

Forums

Domain redirecting to localhost (4 posts)

  1. nateosplot
    Member
    Posted 2 years ago #

    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, http://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!

  2. Baguio Ads
    Member
    Posted 2 years ago #

    Have you not changed your hosts file? or did you not setup a virtualhost before when you were working with the project before?

  3. nateosplot
    Member
    Posted 2 years ago #

    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.

  4. nateosplot
    Member
    Posted 2 years ago #

    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.

    http://sawmac.com/mamp/virtual/

    Thanks! Hopefully this helps others with this problem

Topic Closed

This topic has been closed to new replies.

About this Topic