PDA

View Full Version : HELP - Getting started?????



Greg135
05-22-2008, 07:33 AM
Hey guys,

This is the first time I'm doing this so please be gentle....

I have a primary domain and 3 addon domains.

The first thing I want to do is to upload a Squeeze Page to one of the addon domains.

Questions are:
1. Do I have to re-name the Squeeze Page on my PC first before uploading to the server? What should the format of the name be? Currently it's Homesqueeze.html

2. Which directory on the server do I upload to?

3. How do I link the file (Homesqueeze.html) to the respective addon domain?

4. How do I search for the Squeeze Page on the web - what url would I use? In other words what url would I use to direct people to the page?

I know these are elementary questions, but I have searched the Hostmonster knowledgebase already and I can't seem to find the answers.

Very frustrating to say the least...

Your answers would be much appreciated...

Regards

Greg

shadmego
05-22-2008, 11:46 AM
If you have a page you want to load in a browser when a visitor goes to your website, then you should name that page index.html, index.php, index.htm or default.html. I suggest either of the first two, but take note ...


NOTE: choosing between index.html and index.php will depend on the language used to create the page. If you are using ANY php code in your page, then you have to name it index.php or the browser won't get the correct information. If you are just using a static, html page, you can name it index.html.

If you want to "link" this page to a certain addon domain, then just upload the file to that domain's folder. With Hostmonster, your primary domain is located in the folder:

/home/xxxxxxxx/public_html

All your addon domain will be located in a folder inside public_html. Then name of the folder will be addon_domain, so if you have addon-a.com, addon-b.com and addon-c.com, your folders will look similar to:

/home/xxxxxxxxx/public_html/addon-a/
/home/xxxxxxxxx/public_html/addon-b/
/home/xxxxxxxxx/public_html/addon-c/

As far as renaming the squeezepage, if you are good enough, you won't have to. If you don't rename the page according to my explaination above, then you will have to modify a file called .htaccess to tell the browser where to find the page you want to load. Otherwise, you will get a directory listing instead of a squeeze page.

Let me know if any of this made sense. I know I didn't answer all your questions, but I wanted to take a baby step first, to make sure we were on the same page.

On a personal note, I hate squeeze pages ... I hate being forced to do anything without knowing what I'm getting into.

~regards, and welcome to the Community!

Greg135
05-22-2008, 03:00 PM
Thanks for the welcome....

Ok...let me give you some more information...

I purchased a product that I intend becoming an affiliate for. Part of the product included an "Internet business in a box" to help accelerate the process. It included a squeeze page, 7 day ecourse and graphics etc.

I have already loaded the 7 day eCourse details into my autoresponder and I have linked the Squeeze Optin page details to the autoresponder as well.

Now I want to upload the Squeeze page to the addon domain on my server. The page ends in html so I presume that it was created using html???

The current name of the page is Homebusinesssqueeze.html As far as renaming the page is concerned, do I have to rename it to index.html?

Or can you give further explanation about doing it in the htaccess file...

When uploading the Squeeze page via ftp, do I drop it into the addon domain in the public_html folder?

I'm not sure if I understand how to link the Squeeze page to the specific addon domain?

Help.....

Regards

Greg

shadmego
05-22-2008, 03:27 PM
I'm not sure if you rename the page to index.html that your autoresponder will find it anymore, since you've linked the squeeze page to that.

You might try to set up a redirect using the .htaccess file for the addon domain in which you want the squeeze page loaded.

Use the following code and place it in a file called .htaccess. If you don't have this file, then create it. It will be located in the root directory of the addon domain you are working in. For instance, I have a domain called mybiz.net and an addon called squeeze.com.

The root of mybiz.net is going to be:

/home/accountname/public_html

and the root of squeeze.com will be:

/home/accountname/public_html/squeeze

There should be a file name .htaccess in each of these folders, but we are only going to concern ourselves with the squeeze.com domain.

Inside /home/accountname/public_html/squeeze, find a file called .htaccess and open it for editing. If this file doesn't exist, create it. DON'T FORGET THE " . " AT THE BEGINNING!! (very important)

Once you have this file ready for editing, place the following code in there, modifying it to match your domain needs:



RewriteEngine on
RewriteCond %{HTTP_HOST} ^squeeze.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.squeeze.com$
RewriteRule ^/?$ http://www.squeeze.com/squeezepage.html [R=301,L]


Once you have this entered, modified and saved, then just upload the squeeze page to this domain's root (remember /home/accountname/public_html/squeeze/squeezepage.html) and you should be all set.

Let me know if you still need help with anything ;)

Greg135
05-22-2008, 03:39 PM
The only file in the addon domain is cgi-bin and the .htaccess file is in the public_html folder...

Just to be clear are you saying that every domain including the addon domains should have a seperate .htaccess file?

If that is the case how do you create the .htaccess file? Do you do it from the cpanel or in the ftp program?

BTW - thats a cool site in your sig......I'm busy checking it out now...

shadmego
05-22-2008, 04:14 PM
Yes. Every domain, including addon domains can have their own .htaccess file. Even subdomains can have them as well, though I think there is potential for conflict with subdomain .htaccess files. I'm not sure because I'm not an expert.

You can create the file either through File Manager (my suggestion) or through an FTP program if you are more comfortable with that. The important thing about this file is the period at the beginning though. That is part of the file name.

~regards

Greg135
05-22-2008, 04:20 PM
Sorry but where do I find File Manager? Is it in the cpanel?

Greg135
05-22-2008, 04:22 PM
Another quick question....are there any tutorials that cover this kind of detail?

shadmego
05-22-2008, 08:33 PM
File Manager is located in the CPanel.

What type of tutorials are you looking for? Are you looking for tutorials on File Manager? General website management knowledge?

~regards

Greg135
05-23-2008, 04:26 AM
Inside /home/accountname/public_html/squeeze, find a file called .htaccess and open it for editing. If this file doesn't exist, create it. DON'T FORGET THE " . " AT THE BEGINNING!! (very important)

Once you have this file ready for editing, place the following code in there, modifying it to match your domain needs:

Code:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^squeeze.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.squeeze.com$
RewriteRule ^/?$ http://www.squeeze.com/squeezepage.html [R=301,L]

Once you have this entered, modified and saved, then just upload the squeeze page to this domain's root (remember /home/accountname/public_html/squeeze/squeezepage.html) and you should be all set.



I totally messed up this .htaccess file...

Can you tell me exactly what sections of the code need to be changed and what details need to be inserted?

Regards
Greg

Greg135
05-23-2008, 04:33 AM
In terms of tutorials, I can tell you exactly what has caused me a huge amount of frustration....

1. Just trying to get to grips with what the structure of the website looks like...perhaps a graphical view.

2. An understanding of that structure, what directories/files you can change to achieve an end result.

3. What directories/files you should NOT touch...

4. Where you should upload files to and in what formats

5. How your site should be structured from the word go

6. Where is the best place to upload scripts etc

Thats just for starters....

Appreciate your help...

Regards

Greg

shadmego
05-23-2008, 07:49 AM
I totally messed up this .htaccess file...

Can you tell me exactly what sections of the code need to be changed and what details need to be inserted?

Regards
Greg

Replace the underlined parts with the actual name of the addon domain:



RewriteEngine on
RewriteCond %{HTTP_HOST} ^squeeze.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.squeeze.com$
RewriteRule ^/?$ http://www.squeeze.com/Homebusinesssqueeze.html [R=301,L]

As far as tutorials are concerned, I've written a few, and other members have also contributed with issues they have faced. Check out the User Submitted Tutorials sticky. It isn't a large list, but it might have some information you are looking for. It's a place to get started anyway.

There is also a helpdesk with a bunch of tutorials for HM users. You can find it at http://helpdesk.hostmonster.com.

I'm not sure of all the information in there, but it should also be a place you can find some information.

~regards