nipuntk Posted February 24, 2014 Posted February 24, 2014 Hello, I had created on the Stevie server last week Friday. It is still not up. My username is 'nipuntk' and the website is 'nipun.tk'. I also cannot FTP into it (I am assuming this is because the website is not yet up). I would appreciate your help on this matter. Thanks!
Byron Posted February 24, 2014 Posted February 24, 2014 I'm not seeing any DNS records for that domain: http://bybyron.net/php/tools/dns_records.php?domain=nipun.tk&rec=ALL
nipuntk Posted February 24, 2014 Author Posted February 24, 2014 Thanks for the reply.I am not sure what the problem was, but I changed the domain to point to a different server and then changed it back to HelioHost NS and it seems to work now. Although, I have another question: Can I run php files with '.html' extension?I have added 'AddType application/x-httpd-php .html .htm' in the .htaccess files, but this just tells my browser to download the file.Would you be able to tell me how to fix this? Thanks!
Byron Posted February 24, 2014 Posted February 24, 2014 To parse html files as php, add this to your .htaccess file: It's either going to be EDITED Give me a minute to check. This is it: AddHandler application/x-httpd-php5 .html
nipuntk Posted February 24, 2014 Author Posted February 24, 2014 Perfect, this solves my issue. Thank you for your help!
Byron Posted February 24, 2014 Posted February 24, 2014 This is the correct way. Make sure you get this last post code: AddHandler application/x-httpd-php5 .html
nipuntk Posted February 24, 2014 Author Posted February 24, 2014 I see, I have updated my .htaccess file - Thanks!
Recommended Posts