Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.
Sedo.com

Anyone know how to 404 a subdomain?

Status
Not open for further replies.

Spider

Level 8
Legacy Platinum Member
Joined
Apr 9, 2003
Messages
1,578
Reaction score
0
I recently picked up an expired domain that had a lot of subdomains used from the previous owner. My .htaccess files has the normal 404 error code one but that doesn't seem to work for a subdomain. Can anyone tell me how to do it?


Thanks.
 

seriouswrong

Level 3
Legacy Platinum Member
Joined
Mar 27, 2003
Messages
81
Reaction score
0
Originally posted by jh3
I recently picked up an expired domain that had a lot of subdomains used from the previous owner. My .htaccess files has the normal 404 error code one but that doesn't seem to work for a subdomain. Can anyone tell me how to do it?


Thanks.

Why don't you wildcard the domain?

As in the DNS do a *.domain.com to the ip address of your main website, that way all traffic will go there, and in apache add server alais *.domain.com in the http.conf or Vhost.conf which ever your server uses
 

Spider

Level 8
Legacy Platinum Member
Joined
Apr 9, 2003
Messages
1,578
Reaction score
0
ok thanks, I will see if that's possible with my server. It's managed so it might be something I have to ask to have setup.
 

Nexus

DNF Addict
Legacy Exclusive Member
Joined
Sep 11, 2002
Messages
1,495
Reaction score
0
If you're domain name is registered with eNom, you might be advised to do it through their DNS controls. Your hosting service may charge extra fees to do this.

~ Nexus
 

Spider

Level 8
Legacy Platinum Member
Joined
Apr 9, 2003
Messages
1,578
Reaction score
0
I have a managed dedicated server, it's all included. :)
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Sedo - it.com Premiums

IT.com

Premium Members

MariaBuy

Our Mods' Businesses

UrlPick.com

*the exceptional businesses of our esteemed moderators

Top Bottom