Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 25, 2012, 10:07:24 AM

Pages: [1]   Go Down
  Print  
Author Topic: Subdomain not working  (Read 1831 times)
jawks
Newbie
*
Offline Offline

Posts: 1


« on: December 20, 2011, 01:31:32 AM »

I've upgraded to VPS hosting and now my subdomain is not working.

My actual domain is pointing to a specific folder. So, let's say that domain.com is really pointing to domain.com/ web

To do this you suggested to create a redirect with .htaccess, just like this:

RewriteEngine On
Options +FollowSymlinks
RewriteCond %{HTTP_HOST} domain.com$
RewriteCond %{REQUEST_URI} !web/
RewriteRule ^(.*)$ web/$1


Now my subdomain (soporte.domain.com) is not working. It appears the following error:


Not Found
The requested URL /home/lkbit0/public_html/weblkbitronic/soporte/ was not found on this server.


This path EXISTS so I don't understand why it's not working.

Please I need an urgent solution for this.


Logged
Pages: [1]   Go Up
  Print  
 
Jump to: