SunQuest
           Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 22nd, 2003, 08:04 PM
tenaka tenaka is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 112 tenaka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Question does it make sense changing site to subdomain ?

lets say my site is located at www.mysite.com/private - and already registered with search engines

does it make sense to register it as a subdomain as www.private.mysite.com ?

I mean all the links will continue to work, its just that it looks more profesional in my opinion.

Reply With Quote
  #2  
Old December 23rd, 2003, 07:22 AM
Corey Bryant Corey Bryant is offline
Texan at Heart
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Castle Rock, CO
Posts: 312 Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 13 h 45 m 40 sec
Reputation Power: 14
I think awhle back it did but now most people do not care or even know the difference. You used to see it a lot on commercials using the sub-domain but now more & more are just using the folders.

Reply With Quote
  #3  
Old December 23rd, 2003, 08:03 AM
Android808 Android808 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Somewhere near London
Posts: 52 Android808 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 56 m 57 sec
Reputation Power: 6
I believe it depends on the content of the site in question. If your data is stored in many different sub folders then it can make things easier.

Lets for example imagine that you have the following folder:

http://www.mysite.com/services/host...bers/joebloggs/

You can make this easier to access by either setting up virtual directories or by setting subdomains. Virtual directories are ok so long as you don't have a folder of the same name as the root. The above could be simplified to:

www.mysite.com/joebloggs

Virtual directories don't have to be based in the root directory they can be in other folders. Sub domains would solve the problem of long URL's in a similar way to the above, but would make it easier because they have to be unique.

Reply With Quote
  #4  
Old December 26th, 2003, 03:04 PM
tenaka tenaka is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 112 tenaka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
ok I understood that.

now another question connected to the first one:

my site is located at: www.mysite.com
I use dto access it via ftp and the root of my site was the htdocs folder. in this fodler I have index.html severall folders which stand for subdomains and the /cgi-bin folder.

Now while installing different cgi scripts I have frequently read the term non-public-space I asked my provider about this and he told me that I could make a directory called site and redirect my domain into this folder. So everything outside this fodler would be non-public.

But how would I best structure the site: should I leave the cgi-bin directory outside the site fodler or should it go inside it?

I have a access.pl file in my cgi-bin folder which displays my access log and shows me the way visitors took while visiting my site. I would like to protect access to this file. I have made a html file which links to this access.pl file and lies in a access-restricted folder so in order to access the html file one must enter a password and only then can one click on the link to the access.pl. but what if somebody entered www.mysite.com/cgi-bin/access.pl ??? he will get access to my logs.

Would the above mentioned restructuring help prevent this? And if I leave cgi-bin outside the /site folder how does a lonk from my html page to access.pl look like? I have been using links relative to site root so far. Do I have to change my links to be relative to the document? Anyway which method of linking is preferable?

Reply With Quote
  #5  
Old December 28th, 2003, 09:31 AM
Android808 Android808 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Somewhere near London
Posts: 52 Android808 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 56 m 57 sec
Reputation Power: 6
Hears a helpful hint for anyone reading this. Don't access the posts your subscribed to using hotmail. It messes with your log in status so messages cant be posted. This is my second time of writing this.

When you install a web server, such as apache, it creates a folder called htdocs. This contains all of the files that are available in to the public viewing your site, as you know. It also creates a folder in the same folder that contains the htdocs folder called cgi-bin.

As this folder is outside of htdocs it should be unavailable to the public, in theory if not in practice. I must admit I don't use CGI a lot so I don't have a great amount of knowledge about how to execute scripts from this directory, but I'd would have thought it was pretty straight forward. The configuration file for the server also specifies this directory as the default script location, so this should make it a lot easier.

If you can't get this to work you can place them elsewhere and use a .htaccess file to restrict access to the directory as execute only or whatever. They can also be used to allow access from specific IP addresses only, so this could help prevent others executing them. Try searching google for the full list of things they can do.

The only other thing I can suggest if this don't help is to go post a thread in the CGI/ Scripting forum whatever its called.

Reply With Quote
  #6  
Old December 28th, 2003, 10:52 AM
tenaka tenaka is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 112 tenaka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
ok, thx so far

as the post took totaly another direction I opened a new post in a more fitting category. Read further development of the discussion here

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > does it make sense changing site to subdomain ?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway