guerilla

Member
Apr 11, 2013
8
0
1
cPanel Access Level
Website Owner
Hi Guys,

I'm completely new to this so forgive me if this is really simple.
I need to host a pdf for a client to see and need to send it to them via a url.
The only way I've been able to do it so far is by giving them my login details.
There must be an easier way.

Thanks!
 

Infopro

Well-Known Member
May 20, 2003
17,113
507
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
In cPanel File Manager, navigate to public_html/ (this is yourdomain.com) create a directory called pdf there. Upload your pdf to that pdf directory. Open your browser to yourdomain.com/pdf/yourfile.pdf and view it. :)

If you want it kept private, use Password Protect Directory tool in your cPanel to lock down the /pdf/ directory you created.

Send the user a URL as mentioned, and provide them their own username and password that you created when you password protected that directory.


HTH!
 

guerilla

Member
Apr 11, 2013
8
0
1
cPanel Access Level
Website Owner
When I type yourdomain.com/pdf/yourfile.pdf into my browser it just says page not found. I've been on this for two days now! Ahhhhh, coding!
 

guerilla

Member
Apr 11, 2013
8
0
1
cPanel Access Level
Website Owner
Well that's what that website says but I'm pretty sure it's not a sub domain because I can create a sub domain from it and surely you can't create a sub-sub domain?
 

arunsv84

Well-Known Member
Oct 20, 2008
373
1
68
127.0.0.1
cPanel Access Level
Root Administrator
Check it from the following website.

DNS Lookup tool, Reverse DNS lookup tool - www.DNSWatch.info

Enter the domain name in box just below "DNS Lookup / IP lookup". Click "resolve" and see if its giving any output.

If its not working, make sure that you have setup the correct Name servers for the domain so it will point to your server. Your hosting provider should be able to assist you on this.

Cheers!!!
 

Infopro

Well-Known Member
May 20, 2003
17,113
507
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Well that's what that website says but I'm pretty sure it's not a sub domain because I can create a sub domain from it and surely you can't create a sub-sub domain?

Sorry to confuse the issue, the message you posted is the message you'll always get there trying to check a sub domain so I assumed that was the case.

So, we need to get your domain working properly first. And then you'll be able to link to your pdfs as expected.
 

guerilla

Member
Apr 11, 2013
8
0
1
cPanel Access Level
Website Owner
Ah, it comes up saying no such domain. That's weird as it's been used plenty before. Guess I'll have to check with my provider. That could take a while!

Thanks for all your help so far guys!