Web Site Directory and Link Problem

Status
Not open for further replies.

lucia1

New Member
Messages
28
Reaction score
0
Points
0
To The Community,

Problem: When I go to my website at http://ventana.xhosting.com/, I get:
Index of /

When I click on the link Luther Martin Galleries Britny and Maureen/ ,

the link takes me via http://ventana.x10hosting.com/Luther Martin Galleries Britny and Maureen/ to my actual website at
http://ventana.x10hosting.com/ .

How can I arrange my web site on the server so that when

http://ventana.x10hosting.com/ is entered into the browser's address,

everyone is directed to my web site without having to click on the link:
Luther Martin Galleries Britny and Maureen/ ?

Your assistance is appreciated.

Thank you :cool:
 

eliasr

Member
Messages
344
Reaction score
0
Points
16
OOOH!!

ventana.xhosting.com is adult hosting.

hehehe you miss a 10.

Well, you can do the trick adding a redirection in you cPanel, redirect the root directory to Luther Martin Galleries Britny and Maureen.

I did that with my site.
 
Last edited:

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
You could simply move the contents of the subfolder to the parent folder. If the folder is supposed to be just one of a couple different sites you're managing, then create an addon domain in cPanel that points to the subfolder and use the subdomain name rather than ventana.xhosting.com. If you wish, you could even create a redirect from ventana.xhosting.com to the addon domain.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
1. Do not put spaces in file or directory names.
2. Do not put spaces in file or directory names.
3. Do not put spaces in file or directory names.
4. Do not put spaces in file or directory names.
5. In main directory, create a file named .htaccess if it does not yet exist
6.a Add

DirectoryIndex '/Luther Martin Galleries Britny and Maureen/index.html'

or whatever the front page of the site is.

6.b or add

DirectoryIndex index.php

and have index.php do a redirect to the correct page

7. Do not put spaces in file or directory names.
8. Proofread your work. You saw what your mistyped link sent us to.
 

lucia1

New Member
Messages
28
Reaction score
0
Points
0
OOOH!!

ventana.xhosting.com is adult hosting.

hehehe you miss a 10.

Well, you can do the trick adding a redirection in you cPanel, redirect the root directory to Luther Martin Galleries Britny and Maureen.

I did that with my site.

Thanks for responding Eliasr,
Because of you, I tried re-direction. It is a good training experience for me. Also, I learned how to locate the Cpanel and Zodiac.xhosting. I should have remembered to use lower case, no spaces, et al on a server. I changed that and I am going to name client files with the intent of using them on a server, as a matter of policy. Some newer servers will allow those behaviors, while older configurations will not allow it. By moving my index file to public_html and painstakingly synchronizing the remote server with the files on my client, I fixed everything and learned a lot. Thanks again. Now I need to figure out how to share my bank with the respondents. I guess will just click on donate and try to share with evryone who helped me. I recieved some bank funds from another user who needed PHP form information and he dumped some funds in my bank. When I am through, I will have to try to help others again. The response from Xhosting and its members is encouraging. ;)
Edit:
You could simply move the contents of the subfolder to the parent folder. If the folder is supposed to be just one of a couple different sites you're managing, then create an addon domain in cPanel that points to the subfolder and use the subdomain name rather than ventana.xhosting.com. If you wish, you could even create a redirect from ventana.xhosting.com to the addon domain.

I moved the contents of the subfolder to the parent folder and it is working very well. Thanks for providing the information: "If the folder is supposed to be just one of a couple different sites you're managing, then create an addon domain in cPanel that points to the subfolder and use the subdomain name rather than ventana.xhosting.com. If you wish, you could even create a redirect from ventana.xhosting.com to the addon domain." That is what I wish to do at a later date. I will have to learn how to create an additional domain as I would like to setup a main site with links to sites like my current site. I will be using the information that you provided. Thank you for responding.:cool:
Edit:
You could simply move the contents of the subfolder to the parent folder. If the folder is supposed to be just one of a couple different sites you're managing, then create an addon domain in cPanel that points to the subfolder and use the subdomain name rather than ventana.xhosting.com. If you wish, you could even create a redirect from ventana.xhosting.com to the addon domain.

I did go through your links and converted them to acrbat pdf files for later use.
Thanks.
Edit:
1. Do not put spaces in file or directory names.
2. Do not put spaces in file or directory names.
3. Do not put spaces in file or directory names.
4. Do not put spaces in file or directory names.
5. In main directory, create a file named .htaccess if it does not yet exist
6.a Add

DirectoryIndex '/Luther Martin Galleries Britny and Maureen/index.html'

or whatever the front page of the site is.

6.b or add

DirectoryIndex index.php

and have index.php do a redirect to the correct page

7. Do not put spaces in file or directory names.
8. Proofread your work. You saw what your mistyped link sent us to.

Thanks for the response. I cleaned up the file names, and moved my index.html to the root folder. This solved my problem. I have an .htaccess folder. I do not know how to work with index.php or how to effectively program in PHP. I can barely setup PHP on a server, when the instructions are provided. So, the index.php comment eludes me.:confused:
Thank you for responding to my request for help.
 
Last edited:

lucia1

New Member
Messages
28
Reaction score
0
Points
0
Thanks for the heads up on the posting. I did not know that adult hosting existed as a sub hosting service for x10Hosting. Also, I will go back and try to edit my original posting. I have never done that.

The posting did get quite a bit of digital smirks!!!;) Seems like a lot of people tried to run over to the xhosting site that did not exist, sorry for the disappointment for all and thanks again for all the help that I have received.

Luther
Edit:
please edit your first post as:

http://ventana.xhosting.com/

is not the same as:

http://ventana.x10hosting.com/

Thank You
How do I go back to edit my original post? I looked around in the tools, but I cannot figure out how to do it?

Thanks
 
Last edited:
Status
Not open for further replies.
Top