Solved

webhosting godaddy

Posted on 2010-11-10
4
445 Views
Last Modified: 2012-06-27
I have bought an account in godaddy previous day. I have problems with downloading perl modules using CPAN. Its saying ftp connection failed. Do i require to configure ftp for perl or raise a ticket  
0
Comment
Question by:ranga_kartik
  • 2
4 Comments
 
LVL 10

Expert Comment

by:ujitnos
ID: 34109267
raise a ticket, best option.
0
 
LVL 1

Expert Comment

by:hbear
ID: 34109378
Are you able to see/upload/download other files and folders with FTP? For instance, can you upload into your public_html folder?

You haven't clarified whether or not FTP works at all. If it does, then we can address the next step. If not, make sure your FTP client is configured properly.

See the GoDaddy help page at http://help.godaddy.com/article/1298 and make sure your FTP client is correctly configured, or try a different client.
FileZilla (link on that help site) is an easy-to-use client.

Once you verify that common  FTP transfers are working, we can move on to the next step.

hbear
0
 

Author Comment

by:ranga_kartik
ID: 34109647
i have tried copying files from my local system to the html folder of my account using WinSCP and i was sucessfully able to copy it. So i guess normal FTP transfers are working.
0
 
LVL 1

Accepted Solution

by:
hbear earned 50 total points
ID: 34114645
Ok, FTP is working.
Next...you said you are trying to download PERL modules.
I don't believe that GoDaddy provides modules to download...but they have them installed and available for use in your hosting account.

Note that they also do not support adding additional PERL modules either.

You CAN, however, upload PERL scripts to run using the modules they have installed.

See a list of PERL modules that are installed in your GoDaddy account:
1. Log in to your Account Manager at http://mya.godaddy.com/default.aspx?prog_id=GoDaddy 
2. From the Products section, click Web Hosting.
3. Next to the hosting account you want to use, click Launch.
4. In the Content section, click CGI Admin, enter your hosting account username and password when prompted.
5. In the CGI Administration window, click the Perl option, then the Display button, this will list all of the currently installed Perl modules.

I'm not sure what level of expertise you have with using PERL, but you might first test out a very simple script first.

Open Notepad, or other plain text editor, and insert the code down at the bottom of the page (starting with #) Save the file as
helloworld.pl

Using your FTP client, if there's not a cgi-bin folder inside public_html, create one.
Upload your helloworld.pl into the cgi-bin folder, and, using the FTP program, change the file permissions to 755 (Owner has Read Write Execute, others have only Read & Execute).

In your browser, open http://yourdomain.com/cgi-bin/helloworld.pl

If that works, then you're good to go.
A Perl tutorial is here: http://www.tizag.com/perlT/
and lots of pre-made scripts all over the web...like here: http://www.webscriptsdirectory.com/CGI-Perl/


#!/usr/local/bin/perl
# hello.pl -- my first perl script!

print "Content-type: text/html\n\n";

print <<"EOF";
<HTML>
<HEAD>
<TITLE>Hello, world!</TITLE>
</HEAD>
<BODY>
<H1>Hello, world!</H1>
</BODY>
</HTML>
EOF






0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now