Before I have assigning a main domain for my website, and automatically have put my website content on /home/my_name/public_html/ of course with CPanel's GUI, but currently I want to change or reassign other website to my assigned main domain, what the best way for practice, whether just replace content of /home/my_name/public_html/ with linux's command or CPanel have elegant way for do that?
If I understood right:
Go to "Parked Domains" in cPanel and enter the other domains you want to point to the same /home/my_name/public_html/. All domains will be sharing the same content.
If you want to replace the actual domain, I guess you have to ask your ISP to do it. Cannot be done in cPanel, as far as I know.
Hope this helps.
Related
So I'm a web designer with experience in HTML, CSS and Java. I've used FTP to manage my site a couple of times for my company.
Overall I have experience in using Joomla and WordPress CMSs, but that's just the problem: I have barely any experience in even understanding DNSs, server stuff, domain management. I could really use some help on this.
Firstly, our IT Manager left so now I'm in charge as the sole web designer of the company. The website URL is www.????.org.uk and that's where the live website is.
Issue here is that sometimes I type in the same URL WITHOUT the www, which results in ANOTHER website (actually a beta I worked on a while ago that I'm sure the IT Manager set up for me).
We have a 123reg account and a HeartInternet Reseller hosting account. I understand that you buy domains, and you can forward them to a hosting platform to manage them and 'serve' them on servers to make them live. So in this case I'm betting it's owned and bought using 123Reg, and hosted on HeartInternet.
Here's the second issue I don't understand. We have a bunch of domains bought, most redirecting to www.????.org.uk, but we ALSO have the URL WITHOUT the www.
Remember what I said earlier? All things point to www version, but we own a domain WITHOUT the www and I can't find the domain listed anywhere with the www, so how in the world can I manage the www site (which is the live site)?
Please do teach me a little if you can about this and point me to the right direction. Thank you!
From what I saw several times before:
By default the www is use-less and points to the default ip:port registered at ????.org.uk. For a reason (that I don't understand) some people create a new DNS entry with a sub-domain called "www" pinging to a different ip and/or port. This results in www.????.org.uk acting like someSubDomain.????.org.uk.
Have you checked if this could be your case?
If it is, I suggest you change the "www" subdomain to "dev" or "beta". This will make www.????.org.uk and ????.org.uk redirect to the same "website" and beta.????.org.uk to the beta version of your company's site.
Be aware that a DNS change could require up to 24h to be spread and updated on the ISP's servers.
Somebody once told me that it's possible to make some kind of alias for your website in IIS, so that users can just navigate to the (intranet) page, without being troubled with port numbers.
E.g.
intranet.company.net:8081
can be aliased to
application.intranet.company.net
I have no idea where to look to create these aliases in IIS, surprisingly enough searching for "alias iis" on Google / SO doesn't give me meaningful hits. Maybe it is simply not possible, but I really thought it was...
Any ideas?
Thanks a lot in advance.
For IIS7, you can configure a website application.intranet.company.net whose sole purpose is to redirect to the actual url, i.e. intranet.company.net:8081.
You can do this several ways, including web.config. The simplest way is to use the IIS management UI. See here for instructions.
Right I'll try and explain my situation as thoroughly as possible while also keeping it brief...
I'm just starting out as a web designer/developer, so I bought the unlimited hosting package with 123-reg. I set up a couple of websites, my main domain being designedbyross.co.uk. I have learnt how to map other domains to a folder within this directory. At the minute, one of my domains, scene63.com is mapped to designedbyross.co.uk/blog63 which is working fine for the home page. However when clicking on another link on scene63.com for example page 2, the URL changes to designedbyross.co.uk/blog63/page2...
I have been advised from someone at 123-reg that I need to write a .htaccess file and use the RewriteBase directive (whatever that is?!) I have looked on a few websites to try and help me understand this, including http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html however it all isn't making much sense at the moment.
Finally, scene63.com is a wordpress site, whether that makes any difference to how the htaccess file is structured I'm not sure...
Any help will be REALLY appreciated - Thanks.
I run my personal public website on Webfusion, which is another branded service offering by the same company on the same infrastructure, and my blog contains a bunch of articles (tagged Webfusion) on how to do this. You really need to do some reading and research -- the Apache docs, articles and HowTos like mine -- to help you get started and then come back with specific Qs, plus the supporting info that we need to answer them.
It sounds like you are using a 123 redirector service, or equivalent for scene63.com which hides the redirection in an iframe. The issue here is that if the links on your site use site-relative links then because the URI has been redirected to http://designedbyross.co.uk/blog6/... then any new pages will be homed in designedbyross.co.uk. (I had the same problem with my wife's business site which mapped the same way to one of my subdirectories).
What you need to do is to configure the blog so that its site base is http://scene63.com/ and to force explicit site-based links so that any hrefs in the pages are of the form http://scene63.com/page2, etc. How you do this depends on the blog engine, but most support this as an option.
It turned out to be a 123-reg problem at the time not correctly applying changes to the DNS.
new to dreamhost here and have followed the wiki on this but still need some additional help if possible. I want to be able to preview a site while I work on it, before I point the live domain to my dreamhost server. I've added the domain via the Control Panel, and all my files sit in the directory, /home/user/mysite.com - which is correct I think. When trying to follow the wiki with regards the mirroring details, I find that the only option I have is as follows, where I can't change any of these details:
Create the mirror at: mysite.com
Mirror this site: existingsite.com
The existingsite.com is just a live site sitting on the same server space. Is there something I'm missing here? Probably a newb mistake no doubt :)
Mirroring is for you to point a domain to an existing site. Hence this means you can mirror on 1 site. ie. both existingsite.com and mirrorsite.com points to the same server space.
If you want to create a development site, you probably are talking about 2 installations.
In this case, a quick and dirty trick I use is to create a development subdomain, dev.existingsite.com and fully host it. You normally get a /home/user/dev.existingsite.com folder with this. When your site is fully ready, you can edit your fully hosted existingsite.com and point the web directory to dev.existingsite.com. A better way is to SSH in and move the files.
There's an option copy files over in the settings page. Anyway dreamhost live help is pretty good. This is definitely something they will answer.
If I buy a hosting (+ domain) service for the website of a friend of mine, and then I decide to use the remaining web space and mysql databases for my development and test...
is google caching my development websites (in other folders and sub-urls) under his website ?
What's the downside to develop on a server with already a production website.. ? I was thinking to create a tiny url linking to a www.myfriendwebsite.com/mydevelopmentSite.. in order to hide the real url.
Thanks
If you don't link to it or don't submit to google or list in a sitemap -- google won't find it.
But, you could also just use a robots.txt to tell google not to index it.
http://en.wikipedia.org/wiki/Robots_exclusion_standard
Update: to stop google and malicious bots:
Put a directory in robots.txt using *, and then put your site in a hard to guess subdirectory of that directory -- also, don't keep directory browsing on.
Also -- don't link to it anywhere, but perhaps you can't stop others from linking -- in that case, only robots.txt will keep you out of google. Malicious bots can get the site from the link.
Your hosting provider may have forbidden that in his Terms of Service (mine has). Other than that, I'd go for a subdomain instead of a subdirectory (like mydevelopmentsite.myfriendswebsite.com).