Jump to content

Recommended Posts

I recently formatted my developing computer because my Windows became corrupt, I also never worked with .htaccess before seeing that I was hosted on a Windows server with IIS previously, so I don't know if this is mor of a .htaccess problem. But since I installed everything again, everything seemed to be working fine, until I had to download the Visual C# Express program from Microsoft's website today and something happened that I have never seen before - when I request www.microsoft.com, Apache seems to think that the request is directed to it, and it sends back the files that is in the document root that I specified in my httpd file. And when I request a file that is in my document root via: www.microsoft.com/filename the file on my computer under the specified document root is returned...  :wtf:  Is there anyone that has ever stumbled into the same problem in the past? I need to sort this out fast, because I really need to get Visual C# so it's quite urgent... Thanks

Link to comment
https://forums.phpfreaks.com/topic/207610-htaccess-or-some-setting/
Share on other sites

Uhhh....  that's cracked out.

 

 

I would check your hosts file (C:\Windows\system32\drivers\etc\hosts) to make sure there's not an entry in there for it.

 

 

Otherwise, your DNS resolution is messed up somewhere, be it at a computer level, router level, or ISP level, I have no idea.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.