Mobile app version of vmapp.org
Login or Join
Hamm4606531

: How do I know whether a site is a daughter site of another? Given http://www.ocfaustralia.org/ and site 2 http://griffith.ocfaustralia.org/, is there a way for me to tell whether site 2 is a

@Hamm4606531

Posted in: #Domains #Subdomain #Url #WebDevelopment

Given www.ocfaustralia.org/ and site 2 griffith.ocfaustralia.org/, is there a way for me to tell whether site 2 is a daughter site for site 1?

That is, if I were to remove site 1 would site 2 go down as well?

The reason I'm asking is because I've been asked to do a major redesign for site 1 (the original developer's gone, left no documentations, the codes disorganized and everywhere, etc) and with the way things are, I figured it would be a lot easier and also better in the long run if I just delete everything and start again from scratch. Therefore I need to check for dependencies before pulling the plug.

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamm4606531

3 Comments

Sorted by latest first Latest Oldest Best

 

@Cody1181609

I need to check for dependancies
before pulling the plug.


Yes, you certainly do - and unless you are willing to review the content in place at ocfaustralia.org for any shared databases, include files, stylesheets, images (et cetera) hosted under the griffith.ocfaustralia.org subdomain, I would strongly suggest that you hold off on taking anything down until you have figured out all the dependencies or implemented (and tested) a complete replacement.

10% popularity Vote Up Vote Down


 

@Welton855

In your example "griffith" is a sub-domain of "ocfaustrailia.org". You could remove all the content from the ocf site and be fine with griffith. If your domain name for ocf were to expire or go down, then you would have issues.

You can set up mydomain.com as a primary domain, then set up client1.mydomain.com, client2.mydomain.com, blog.mydomain.com etc. They are all independent sites, usually set up with their own root folder similar to... (*nix hosts)

/public_html/index.html (this is home for mydomain.com)
/public_html/client1/index.html (this is home for client 1)
/public_html/client2/index.html (this is home for client 2)
/public_html/blog/index.html (this is home for blog)

So long as you don't remove the directory in your /public_html/ for your sub domains, the files will remain. The setup for domain name structure is handled via DNS entries. Many ISPs have control panels like cPanel to help you set this up.

10% popularity Vote Up Vote Down


 

@Cugini213

This is not possible to determine without examining the source code. Not only do you have to worry about the servers things are on and database connections, but you never know when another site might be relying on a feed of sorts from the first site.

Check the source code.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme