Apache :: Subdomain Pointing To Base Domain
Jun 7, 2013
Switched from NGINX to Apache2 and now having challenge getting my subdomain s to work properly. Everything worked fine w/ NGINX - so I don't think this is related to my DNS or hosts file setup.
PROBLEM: Calls to dev.domain-name.org are going to www.domain-name.org.
I have tried many different changes to the conf files... NameVirtualHost changes, VirtualHost changes... I can't count how many times I have restarted Apache now.
Here is my setup:
ports.conf
-----------
Listen 80
Listen 443
NameVirtualHost 96.126.xxx.xxx:443 (xxx'd out for privacy on forum)
NameVirtualHost *:80
within sites-available and activated and linked in sites-enabled:
[Code] .....
View 1 Replies
ADVERTISEMENT
Jul 3, 2008
I have a server running IIS that I have a primary website hosted on, let's call it...foo.com
So foo.com is hosted and setup through IIS, resolving fine. Now, I have created a site on a different server (not on the same network) to run a subdomain called 'local.foo.com'. How do I get IIS to point all traffic for local.foo.com to the IP of the server hosting the subdomain?
I tried adding a hostname to the primary domain in IIS through "Properties" > "Web Site" > "Advanced" but I am stilling getting the Invalid Request Bad Host Name error.
View 2 Replies
View Related
Sep 6, 2007
I just moved my site to point to a new server (changed nameservers) and everything is working fine but a subdomain.
My subdomain links.example.com still points to old site when example.com points to the new site.....
Should I delete that subdomain at the old host?
Should I just be patient?
Should I change nameservers for subdomain at old host?
The subdomain is configured at the new host already.....
View 0 Replies
View Related
Apr 1, 2008
I have a subdomain probandoe.freehostia.com and I wanted to redirect this subdomain so that it points to
probandoe.freehostia.com/pagina.html
Does anybody know how to do this?
View 9 Replies
View Related
Apr 25, 2007
On most servers using a vhost you can make a subdomain point to a subdirectory.
so www.host.com/stuff would be stuff.host.com
That works fine for me. I now want to avoid people being to access the www.host.com/stuff and always have to go via the subdomain.
If I create a rewrite rule I'll get an infinite loop as the subdomain and subdirectory will keep on going to each other.
What is the proper way of disabling access via the subdirectory?
View 1 Replies
View Related
Nov 18, 2014
I would like to rewrite mysite.com to www.mysite.com.
However, if the request is a subdomain (i.e. blabla.mysite.com), then it should not rewrite.
I believe this gets me close, but it will not differentiate the subdomains (i.e., blabla.mysite.com).
View 5 Replies
View Related
Nov 5, 2009
i purchased a VDS and a domain name from godaddy 2 weeks ago. I pointed my domain name to my server and i guess work just fine. but when i googled my domain name i found a damain which is pointing to my website. how can a stop this domain from pointing to my IP?
View 11 Replies
View Related
Jun 27, 2008
We recently moved one server to a colo provider and were issued new IP's. One IP is causing us trouble.
We have been getting blocked from sending email to AOL and other free email companies.
When we contacted AOL we were told that they had received complaints about our IP and it was blocked.
Upon doing a RBL check and IP check, it seems that the former owner of our IP is still pointing his domain via eNom to our IP and had at one time sent spam.
If you reverse DNS our IP's.
bad domain -> our IP
our domain -> our IP
We contacted the eNom legal department (bad domain's registrar) about the problem.
They responded that they could not do anything about it, only the registrant could.
The spammy domain registrant obviously does not respond to our contacts.
What is the best course of action?
View 7 Replies
View Related
Jun 24, 2008
i have dns problem as i think idont know how to solve it or how did it happen iam using this site from more than 8 month i registered it in godaddy as my main domain name register and iam hostingit on my ressler account with many other domains but last night i found that the domain is pointing to my server but it show godaddy parking page i cheeke the name serv its pointing to me i do this repport in dns test i found it is also pointing to go daddy how can that happen and how can i solve it to show my web site again:
View 5 Replies
View Related
May 7, 2008
(Background) Looking for some advise on domain pointing currently I have a UK server hosting my billing system which is replicated each evening over to my US server
I want to sub domain my primary domain to uk.yourdomain.com & us.yourdomain.com
As redundancy I would also like uk.yourdomain.com to point to the US server should the UK one fail - giving me redundancy, I figure in the next few months I can do this on our AU - creating au.yourdomain.com and replicating our billing system to that datacenter too.
(question) - can this been setup and configured from server level, ie on my primary server WHM dns zones OR should this be created on a registrar level?
View 1 Replies
View Related
Feb 10, 2007
Hello all, hope someone can help.
I have a domain incl. hosting (fanferwalde.com) and three extra domain names, fanferwalde.nl , fanfalingasate.com , fanfalingasate.nl (all three without hosting) who I want to point to fanferwalde.com.
Before I bought the extra domains I asked the provider if I could point the extra domains to the “head” domain (fanferwalde.com).
Yes, that was possible they said so I bought the extra domains.
I asked the provider to help with the configuration to point them to the head domain but they refused, I must do it by myself……………………..
There is no possibility they do it when I pay extra for it so I feel pressed to take also a hosting for the extra domains; then I can make a redirect on each index page.
All domain names have an own DNS control panel. I have full access to this.
The first picture is the DNS from the head domain.
The second picture is the DNS from one of the extra domains I want to point to the head domain.
What must I put where so the website from fanferwalde.com will appear when I write fanferwalde.nl in the browser?
THANKS in advance!!!
(Sorry for my bad English, I’m Dutch)
View 12 Replies
View Related
Feb 28, 2008
I'm designing a site, www.streetsmartscooters.com, to (obviously) sell scooters. Just yesterday I saw on my Google Analytics that people were getting to my site by searching for X-treme X-10, a particular brand and model of scooter.
I typed the keywords into Google to see what my rankings were, and I was on the fourth page. But the green URL in the search listing showed up as mamafocka.com.
When you go to mamafocka.com, it's all the same information as my website, and changes I make through my FTP login update immediately. If you go to streetsmartscooters.com, you can click on the "Electric Scooters" link on the left nav and it will keep you on mamafocka, but give you the exact same page as on streetsmartscooters (I set that particular link to be relative in the includes file).
My site is hosted on a Windows 2003 virtual server from GoDaddy. SelfSeo.com says that mamafocka.com and streetsmartscooters.com both have the same IP - 208.109.99.16. I just signed up for a dedicated IP address tonight from GoDaddy, but I'm not sure how long it takes to propagate.
Will getting a dedicated IP fix this problem, or have I wasted 6 bux? Is there any way to block that domain name from pointing to my site? It doesn't look to my novice eyes like this is a redirect.
Also, I installed FreeFind on the site earlier this week, I believe. Could somebody have messed with something through that?
View 4 Replies
View Related
Jul 25, 2007
I cannot seem to get it to work in Cpanel.
How can I point websiteA.com to websiteB.com/directory/.
I tried to park the domain name on websiteB.com and set the redirect to websiteB.com/directory/ yet it still points to only websiteB.com
View 2 Replies
View Related
Apr 8, 2008
I am currently hosting a someone's website, and they want me to point there domain to another ip address(someone else who is hosting their website) He just wants to send and receive e-mails on my sever. Is there a way i can point his domain to a different ip address using WHM?
View 13 Replies
View Related
Mar 11, 2008
I want to point on of my domain name towards another webhosting service. My registrar is different from the webhosting service. I have done it many times, it works perfect except for one. Could the old webhosting service be preventing the domain name from pointing to another one?
View 8 Replies
View Related
Jul 31, 2008
I have a customer who registered his domain name with yahoo he now wants to point that domain to a hosting account that I have started for him at GoDaddy. Should be simple but it has been anything but.
He has emailed Yahoo several times with no response, he has called their tech-line only to be told he needs to email them instead. We finally figured out through GoDaddy that Yahoo registers through Melbourne IT. He has tryed calling Melbourne they are in turn asking for a 12 digit registration number that my customer does not have. Melbourne told him he needs to get this from Yahoo, Yahoo says they do not give registration numbers out. This leaves my customer with only 2 options, either register a brand-new domain through GoDaddy or go with Yahoo for hosting.
Has anyone else experienced this? Did you ever finally get through and get things transfered?
View 3 Replies
View Related
Jan 31, 2015
When typing my ip it used to go to Plesk landing page.
Then through the option: server > tools > IP Addresses, I changed the "Default site" to my main domain, however, it just points to the main page, and not changes the url to the domain (keeps the ip in title, and not show the domain url).
How to make it forwarded to the domain (show it in the address bar), and not just to the index page?Â
View 1 Replies
View Related
Apr 2, 2007
When a domain name is pointing to our server and the account is not setup yet, there's a default page that says:"
Quote:
Great Success!
Apache is working on your cPanel® and WHM™ Server
If you can see this page, then the people who manage this server have installed cPanel and WebHost Manager (WHM) which use the Apache Web server software and the Apache Interface to OpenSSL (mod_ssl) successfully. They now have to add content to this directory and replace this placeholder page, or else point the server at their real content.
How can I modify that page ONLY for ROOT accounts and not my resellers?
View 4 Replies
View Related
May 30, 2014
i'm running the latest version of Plesk 11 on a Ubuntu 12.04 system.
We have a customer with a domain and this customer added other domains to his account.
now, 2 domains are not working, he created the as usual, Plesk created the directories under /vhosts/domain.com/domain1.com and the vhosts.conf are also correct.
when i'm opening the domain in the browser, i get the following error message:
The requested URL /var/www/vhosts/domain.com/index.php was not found on this server.
View 3 Replies
View Related
May 11, 2015
Wordpress installation (WPML with 3rd level domain es. site. com, fr. site. com).
I need to redirect page from subdomain to a new subdomain
Example:
esp.site.com/oldpage -> es.site.com/newpage (different subdomain)
esp.site.com/oldpage1 -> es.site.com/newpage
esp.site.com/oldpage2 -> es.site.com/newpage
Source site is very chaotic and there are no clear rule for redirection (no regex )
So I need to redirect every page but syntax:
Redirect 301 esp.site.com/oldpage http:// es.site.com/newpage
doesn't work!
which is the correct syntax ?
Can I manage all from one .htaccess file in main root (www) or should I create "esp" directory (and point old subdomain to it - one for every language) and put .htaccess in every directory with redirection ?Â
View 1 Replies
View Related
Nov 18, 2007
I have a domain aaa.com that has a page on it. It used to work fine. I added another domain bbb.com and both were working well.
Today, I discovered that no matter if I go to aaa.com or bbb.com, it always shows bbb.com.
I didn't try to do something like that and don't want to. Yesterday, I tried to secure my VPS with doing the step in this tutorial : [url]
I dont' know if I created that problem yesterday or before that...
Do you know what I can do to bring it back like it was ? What can I check do solve this?
View 3 Replies
View Related
Jul 24, 2007
I have problem,
subdomain.domain.com - not working
www.subdomain.domain.com - working
When I creating new subdomain: subdomain2.domain.com - all working ok, I have problem only with this one domain.
I deleting domain.com, deleting dns zones, deleting account, adding domain to other account - all not working for subdomain.domain.com
View 4 Replies
View Related
Oct 24, 2008
what are the differences?
View 9 Replies
View Related
Sep 19, 2008
So you may have noticed im starting a few threads..
my boss told me that he wants to expand our market into hosting
im going to be putting some servers togeter and starting from scratch so to say
im guessing that we will onlybe hosting under our own name....
but i figure i should touch down here...
how would one start with VPS?
you run special software to allow your clients to manage all their clients?
do you give them a server to RDP into and manage from there?
VPS was largly overlooked in our meetings but i've always found them to be very nifty =-D
View 5 Replies
View Related
Oct 3, 2007
Wondering if anyone know how to install all the packages for the @Base category in the CentOS 5 install from yum. I did not check this during install and can't figure out an easy way to see and install all the packages in the @Base category.
Also tried some searching and can't seem to find a way to install package groups from yum.
View 1 Replies
View Related
May 2, 2008
i wanted to create secure.mydomain.com . i can create this either as a separate domain or as a subdomain for mydomain.com.
which one is preferred and why?
View 1 Replies
View Related
Mar 14, 2007
Can I have a primary domain - www.sample.com - point to another primary domain - www.sample.asn.au - but then have the entry point for that domain be a subdomain - www.ccc.example.com?
If the primary domain is parked somewhere else, doesn't it mean that all the subdomains will be too? Or do I use a 301 on the primary domain to the .asn.au site? But does that then redirect all the subdomains too?
View 3 Replies
View Related