且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在我的网站上发现“未找到”错误?

更新时间:2022-11-05 21:11:04

我终于弄清楚了。由于某种原因,当目录被标记为mydomain.com时,它不起作用。我把它改成了mydomain_com ,它固定不了什么原因。谢谢cevaris和Amazed帮助我。


I'm trying to upload files to my domain that I'm hosting with Dreamhost. I connected to the server with FileZilla and I'm pretty sure I put the files in the right spot.

Their tutorial says to create a directory with your domain name like this: 'mydomain.com' and put your files in there. I put an index.html, p.css, register.php, login.php, and logout.php file in there. However, when I navigate to mydomain.com in Google Chrome, all I see is this:

Does anybody know what could be causing this? BTW I didn't actually create a directory called "mydomain.com" I used the domain I own.

UPDATE:

The directories are set up like this:

/
    mydomain.com
       public_html
           register.php
           main.css
           logout.php
           login.php
           index.html

I finally figured it out. For some reason it wasn't working when the directory was labeled mydomain.com. I changed it to mydomain_com and it fixed it for whatever reason. Thank you to cevaris and Amazed for helping me.