I read through some guides on this and I believe it is possible to have apache respond to a subdomain through ssl. I have domain.com responding on 80 and I do not need domain.com responding on 443.
I have: - two DNS servers: 1.1.1.1 and 2.2.2.2 - domain name: domain.com pointed to 1.1.1.1
I want to point sub domain: sub.domain.com to 2.2.2.2 (obviously www.sub.domain.com too)
on 1.1.1.1 I've create a DNS A record pointing sub.domain.com to 2.2.2.2
accessing sub.domain.com now lead to 2.2.2.2 successfully
the problem is the DNS records on 2.2.2.2 such as CNAME www do not work means access
#Hide Index
IndexIgnore *
#Define ErrorDoc
ErrorDocument 404 http://www.domain.com
#REDIRECTS
Redirect 301 /page.php http://domain.com
Redirect 301 /inc/page.php http://domain.com
Options +FollowSymlinks
RewriteEngine on
#Redirect all pages in a folder to a single URL
RewriteRule ^dir/(.*)$ http://domain.com/index.php [L,R=301]
#Redirect String
RewriteRule ^index.php?var1=value&var2=(.*)
I want to add the Sub Domain to a working Domain so it becomes test.domain.co.uk.
From Cpanel, I have set up the Sub Domain and it created the folder /public_html/test
I set up an DNS A record for test.domain.co.uk as well, although I am not sure if this is needed?
Viewing "http://www.domain.co.uk/test" works, but "test.domain.co.uk" results in the error
"Firefox ca
I am trying to have GitList (PHP web viewer for git) and GIT Smart HTTP(S) under the same domain git.domain.ext. The following is the actual setup:
GIT Smart HTTP URLs are the form git.domain.ext/git/reponame.git
GitList is served through git.domain.ext/gitlist
So far, so good.
All of the names currently point to the same web server folder which is correct. That is, the domain.net, domain.org, etc all work without redirecting to the main .com
How do I get visits to the .org and .net to redirect the browser to domain.com?
This should be basic, but I am can't figure out the best approach.
I have a domain registered through namecheap.com, and I have 2 nameservers for my domain (ns1, ns2.domain.com). Both nameservers are being pointed to my VPS IP address. I can access my VPS fine through IP, but not my domain. I am using webmin 1.6, and have my master zone all setup. Here is the records file:
; domain.com
$TTL 3600
domain.com. IN SOA a.root-servers.net. email@msn.com.
I'm hosting a wordpress site at http://www.example.com, but I recently purchased a new domain name with namecheap, say http://example2.com.
If I set up a main domain called DOMAIN.COM, then underneath that I have 5 other subdomains added as "add on" domains, for example:
APP1.DOMAIN.COM
APP2.DOMAIN.COM
APP3.DOMAIN.COM
APP4.DOMAIN.COM
APP5.DOMAIN.COM
Then I want to give the main domain and the sub domain an SSL certificate.
Do I need to buy ONE SSL cert or 5? (I would assume 5).
What about IP address?