title: Getting 404 Error Page not found in godaddy?
body: <p>I have a subdomain named 'spotrecharge'. In this I am unable to access the other pages except the index page. I am getting a 404 Error on all other pages.</p>
  
  <p><img src="https://i.stack.imgur.com/2x6Yu.png" alt="enter image description here"></p>
  
  <p>I tried to allow port access, but I could not get it to work. This is the code in my .htaccess file.</p>
  
  <pre><code>SetEnv TZ Asia/kolkata
  
  # Add the following header to every response
  Header set Access-Control-Allow-Origin *
  Header add X-HeaderName "Developed by"
  Header add X-01 "iWebTechnik"
  
  #Character Set
  AddDefaultCharset utf-8
  AddType 'text/html; charset=UTF-8' html
  
  # year
  &lt;FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf|mp3|mp4)$"&gt;
      Header set Cache-Control "public"
      Header set Expires "Thu, 24 Apr 2014 20:00:00 GMT"
      Header unset Last-Modified
  &lt;/FilesMatch&gt;
  
  # 2 HOURS
  &lt;FilesMatch ".(html|htm)$"&gt;
      Header set Cache-Control "max-age=7200, must-revalidate"
  &lt;/FilesMatch&gt;
  
  #2 DAYS
  &lt;FilesMatch ".(xml|txt)$"&gt;
      Header set Cache-Control "max-age=172800, public, must-revalidate"
  &lt;/FilesMatch&gt;
  
  #2 HOURS
  &lt;FilesMatch ".(js|css)$"&gt;
      Header set Cache-Control "public"
      Header set Expires "Thu, 24 Apr 2014 20:00:00 GMT"
      Header unset Last-Modified
  &lt;/FilesMatch&gt;
  
  # compress text, html, javascript, css, xml:
  AddOutputFilterByType DEFLATE text/plain
  AddOutputFilterByType DEFLATE text/html
  AddOutputFilterByType DEFLATE text/xml
  AddOutputFilterByType DEFLATE text/css
  AddOutputFilterByType DEFLATE application/xml
  AddOutputFilterByType DEFLATE application/xhtml+xml
  AddOutputFilterByType DEFLATE application/rss+xml
  AddOutputFilterByType DEFLATE application/javascript
  AddOutputFilterByType DEFLATE application/x-javascript
  
  
  &lt;IfModule mod_gzip.c&gt;
      mod_gzip_on       Yes
      mod_gzip_dechunk  Yes
      mod_gzip_item_include file      \.(html?|txt|css|js|php|pl)$
      mod_gzip_item_include handler   ^cgi-script$
      mod_gzip_item_include mime      ^text/.*
      mod_gzip_item_include mime      ^application/x-javascript.*
      mod_gzip_item_exclude mime      ^image/.*
      mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
  &lt;/IfModule&gt;
  
  
  &lt;FilesMatch "\.(ico|jpg|jpeg|png|gif|js|css|swf)$"&gt;
      &lt;IfModule mod_expires.c&gt;
      ExpiresActive on
      ExpiresDefault "access plus 30 days"
      &lt;/IfModule&gt;
      Header unset ETag
      FileETag None
  &lt;/FilesMatch&gt;
  
  
  &lt;files .htaccess&gt;
      order allow,deny
      deny from all
  &lt;/files&gt;
  
  
  Options +FollowSymLinks -MultiViews
  RewriteEngine On
      RewriteCond %{SERVER_PORT} 80
      RewriteRule (.*)$ http://spotrecharge.iwebtechnik.com:80/$1 [R,L]
      RewriteRule \.(css|jpe?g|gif|png)$ - [L]
  
      RewriteCond %{REQUEST_URI} !^/folder/ [OR]
      RewriteCond %{REQUEST_URI} !^/folder/ [OR]
      RewriteCond %{REQUEST_URI} !^/s/ [OR]
      RewriteCond %{REQUEST_FILENAME} !-l [OR]
      RewriteCond %{REQUEST_FILENAME} !-f [OR]
      RewriteCond %{REQUEST_FILENAME} !-d
          RewriteRule ^/ - [S=4]
          RewriteRule ^a/([^/]+)/([^/]+)/([^/]+)/([^/]+)/?$ index.php?val1=$1&amp;val2=$2&amp;val3=$3&amp;val4=$4 [NE,L,QSA]
          RewriteRule ^a/([^/]+)/([^/]+)/([^/]+)/?$ index.php?val1=$1&amp;val2=$2&amp;val3=$3 [NE,L,QSA]
          RewriteRule ^a/([^/]+)/([^/]+)/?$ index.php?val1=$1&amp;val2=$2 [NE,L,QSA]
          RewriteRule ^a/([^/]+)/?$ index.php?val3=$1 [NE,L,QSA]
  
      RewriteCond %{REQUEST_URI} s/
          RewriteRule ^s/([^/]+)/?$ index.php?val3=$1 [NE,L,QSA]
  </code></pre>
  
  <p>Response will be appreciated thank you</p>