.htaccess file

I'm using vps server, I have 4 domains and 4 web sites,
I want to use .htaccess file for each web site. But I can not see them in my root folder.
There is no file named.htaccess under httpdocs files.
What should I do? should I create one and use it?
what if there is one .httacces file on the upper level?
where can I see the upper level files?
I already know my vps ip address,
I'm using Parallels Power Panel

I'm using apache server. thank you
LVL 1
BRMarketingAsked:
Who is Participating?
 
Brad HoweConnect With a Mentor DevOps ManagerCommented:
As you have 4 separate domains they are distinct. .htaccess files will need to be placed in each websites root folder.

If they do not exist you simply need to create it in the webroots.

Cheers,
Hades666
0
 
BRMarketingAuthor Commented:
Dear hades6666,
How can i access the webroots? I do not see it when i connect the server with ftp
0
 
Brad HoweDevOps ManagerCommented:
What are you directorys listed when you connect via FTP? You need to have at least 4 directories that separate the 4 domains.

Cheers,
Hades666
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.