Posts: 0
Threads: 21
Joined: Feb 2025
Reputation:
0
when i add a subdomain and want to open that subdomain it shows me not found 404 problem:
Not Found
The requested URL /var/www/vhosts/najma.ir/najma.ir/httpdocs/index.php was not found on this server.
why doesnt work?
Restored from old drupal forum, for user uid:2771 username:cameron
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Feb 2025
Reputation:
0
normally, subdomains use directories like:
/var/www/vhosts/najma.ir/najma.ir/httpdocs/sudomains/sub1
not
/var/www/vhosts/najma.ir/najma.ir/httpdocs/
so, if you try to access
sub1.najma.ir
and you get that error, this means that your "add subdomain" did not succeed.
make sure that your ehcp daemon is running in your server.
check http://ehcp.net/?q=node/848
Restored from old drupal forum, for user uid:2771 username:cameron
You may reset your password to access your new account here.
Posts: 0
Threads: 21
Joined: Feb 2025
Reputation:
0
i would like to say that when i add index.php at the end of subdomains for example sub1.najma.com/index.php it's work.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 0
Threads: 13
Joined: Feb 2025
Reputation:
0
Sounds like it could be something in the apache config
Restored from old drupal forum, for user uid:2771 username:cameron
You may reset your password to access your new account here.
Posts: 0
Threads: 21
Joined: Feb 2025
Reputation:
0
what should i do? i didnt do anything at all
Restored from old drupal forum, for user uid:3246 username:Stone1555
You may reset your password to access your new account here.
Posts: 0
Threads: 13
Joined: Feb 2025
Reputation:
0
Can you post the url you are trying to reach? I can run a test with it in about an hour and see if its a setting or something
Restored from old drupal forum, for user uid:2771 username:cameron
You may reset your password to access your new account here.
Posts: 0
Threads: 21
Joined: Feb 2025
Reputation:
0
www.hemmatdairy.com
and its subdomains forums.hemmatdairy.com
Restored from old drupal forum, for user uid:3246 username:Stone1555
You may reset your password to access your new account here.
Posts: 0
Threads: 13
Joined: Feb 2025
Reputation:
0
Weird, looks like it works to me, have you tried installing your forums there?
Restored from old drupal forum, for user uid:2771 username:cameron
You may reset your password to access your new account here.
Posts: 0
Threads: 13
Joined: Feb 2025
Reputation:
0
Did you get this working?
Restored from old drupal forum, for user uid:3246 username:Stone1555
You may reset your password to access your new account here.