My sites uploaded dont open!!!

August 28, 2015 1k views
DNS Apache

I sent the folder with my website files to the directory "/ var / www" and even to "/ var / www / html" yet when access, this screen appears: /5kCXr50.jpg and sent to a file "test.html" and nothing to change this printscreen screen that sent ... What should I be doing wrong? Therefore, I am sending the site files and folders for the hosting, via Filezilla, and my sites are not showing ...

  • What kind of setup do you have? LAMP? LEMP?

    Do you have Sentora set up correctly for your sites or are you just uploading to the default directories?

  • I have Sentora set up, but I don't know if I have LAMP or LEMP, because I'm beginner, please I need help for upload my websites. :(

  • Where did you set it up from? Did you follow a certain guide? Have you logged into Sentora and make sure your sites are set up. Is your domains pointed to the correct name servers and are they pointed to the correct IP

    1. I upload files in Filezilla to that folder:

    2. The domain point to that name servers:

    3. And the IP is pointed to my unique droplet. How should check it?
      That is printscreen my folder set up in Sentora:

  • works fine. There is something wrong with your index.php.

    Your DNS is correct.
    It goes to the correct name servers and your DNS shows the A-Record going to your server

    peppah@desktop:~$ dig
    ; <<>> DiG 9.9.5-3ubuntu0.4-Ubuntu <<>>
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52245
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
    ; EDNS: version: 0, flags:; udp: 512
    ;     IN  A
    ;; ANSWER SECTION:  1799    IN  A
    ;; Query time: 69 msec
    ;; SERVER:
    ;; WHEN: Thu Aug 27 23:04:19 EDT 2015
    ;; MSG SIZE  rcvd: 66

    It looks like there is something wrong with your index.php. Have you tried wiping out the contents of your domain directory and re-uploading?

  • Hello! I get the solution!

    The directory that I should upload my sites is in:
    /var/sentora/hostdata/[username]/public_html/ (that is the correct way)

    Before I upload to: "/var/www"

1 Answer
Have another answer? Share your knowledge.