FreePgs.com Forum
October 25, 2021, 07:12:19 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: LVCS.NET offers low cost domain registration services.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Basic Domain Questions  (Read 3524 times)
indulge
Non-Verified Account
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2

Blog entries (0)

View Profile
« on: May 01, 2006, 03:48:07 PM »

Hello. I recently bought a domain from LVCS.net and set it up so that it's linked to my account here on FreePgs.com, but I have a couple quick questions I was hoping someone could answer for me.

First, when I use my FTP client, am I still connecting to ftp.freepgs.com or is there a different server to which I connect? Also, when linking images or pages in my coding, is it still freepgs.com/indulge/page.html [or freepgs.com/indulge/picture.ext] or is it now indulgealunatic.org/page.html [or indulgealunatic.org/picture.ext]?

Sorry if these seem like incredibly basic questions, but this is the first time I've worked with a domain like this.

Thank you for your help. Smiley
Logged
Evilsprouts
Verified Account
Full Member
*

Karma: +1/-0
Offline Offline

Posts: 243


Blog entries (0)

View Profile WWW
« Reply #1 on: May 02, 2006, 04:52:59 AM »

You still connect to ftp.freepgs.com and it doesn’t matter which you link to but it looks better if you link to yourdomain.org.
Logged
FreePgs.com Forum
« Reply #1 on: May 02, 2006, 04:52:59 AM »

 Logged
indulge
Non-Verified Account
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2

Blog entries (0)

View Profile
« Reply #2 on: May 04, 2006, 03:49:25 PM »

Great! Thank you so much, Evilsprouts. Smiley
Logged
pythonpoole
Scorptek
Non-Verified Account
Full Member
***

Karma: +0/-0
Offline Offline

Posts: 151

Blog entries (0)

View Profile WWW
« Reply #3 on: May 04, 2006, 05:18:23 PM »

Quote
Also, when linking images or pages in my coding, is it still freepgs.com/indulge/page.html [or freepgs.com/indulge/picture.ext] or is it now indulgealunatic.org/page.html [or indulgealunatic.org/picture.ext]?

From now on you should make it a habit to use relative path coding, its much better for various reasons.

That means, <img src="hey.gif"> will look for the image hey.gif in the same folder as the html page displaying it. This means it writes the url in for you, so if they visit your page with yourdomain.com, it will automatically look for the image at www.yourdomain.com, and if you put freepgs.com/yourname it will look there.

"cool/hey.gif" tells it to look for the picture hey.gif in a subdirectory of the folder the HTML page is in called cool.
"../hey.gif" tells it to look in "one level up" of folders. IE, if you are in the Sub directory cool, ../ will take you back to the home directory, as it is the next highest level.

So as you can see there are various uses for using relative paths. It means if you need to change the domain to your site, or anything like that, you don't have to make any physical changes of links on the page. It also means you can test your site at both yourdomain.com and freepgs.com/yourname, where as absolute path will simply make the links on both of them lead to the former, so you can't really test it on the freepgs link if you need to.
Logged
FreePgs.com Forum
« Reply #3 on: May 04, 2006, 05:18:23 PM »

 Logged
tle
Non-Verified Account
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3

Blog entries (0)

View Profile
« Reply #4 on: May 04, 2006, 10:27:28 PM »

I believe you can use the address ftp.yourdomain.com to log on to your ftp server.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!